mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
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:
parent
56716def97
commit
7af216b463
4
dist/partial.d.ts
vendored
4
dist/partial.d.ts
vendored
@ -1,4 +0,0 @@
|
||||
export declare type Partial<T> = {
|
||||
[P in keyof T]?: T[P];
|
||||
};
|
||||
//# sourceMappingURL=partial.d.ts.map
|
||||
1
dist/partial.d.ts.map
vendored
1
dist/partial.d.ts.map
vendored
@ -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"}
|
||||
@ -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";
|
||||
|
||||
@ -1 +0,0 @@
|
||||
export declare type Partial<T> = { [P in keyof T]?: T[P]; };
|
||||
Loading…
x
Reference in New Issue
Block a user