clean: remove partial.ts as this is built into TS (#322)

- at least as of TS 2.1: https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype
  - we have a peerDep on TS >=2.4, so should definitely be compatible
  - and TS is on ~4.6 at this point, so that's _really_ old

- remove the file and the declarations and declaration maps
  - don't rebuild as that's usually done as a separate commit
This commit is contained in:
Anton Gilgur 2022-05-10 19:15:55 -04:00 committed by GitHub
parent 56716def97
commit 7af216b463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 7 deletions

4
dist/partial.d.ts vendored
View File

@ -1,4 +0,0 @@
export declare type Partial<T> = {
[P in keyof T]?: T[P];
};
//# sourceMappingURL=partial.d.ts.map

View File

@ -1 +0,0 @@
{"version":3,"file":"partial.d.ts","sourceRoot":"","sources":["../src/partial.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,MAAM,OAAO,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC"}

View File

@ -7,7 +7,6 @@ import * as tsTypes from "typescript";
import * as resolve from "resolve";
import * as _ from "lodash";
import { IOptions } from "./ioptions";
import { Partial } from "./partial";
import { parseTsConfig } from "./parse-tsconfig";
import { printDiagnostics } from "./print-diagnostics";
import { TSLIB, TSLIB_VIRTUAL, tslibSource, tslibVersion } from "./tslib";

View File

@ -1 +0,0 @@
export declare type Partial<T> = { [P in keyof T]?: T[P]; };