mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
core-js: Lint and use "lib" to eliminate unnecessary code. (#15108)
This commit is contained in:
parent
e31e8a857b
commit
8dd753de5a
@ -8,7 +8,7 @@ let s: string;
|
||||
let i: number;
|
||||
let b: boolean;
|
||||
let f: () => void;
|
||||
let o: Object;
|
||||
let o: {};
|
||||
let r: RegExp;
|
||||
let sym: symbol;
|
||||
let e: Error;
|
||||
@ -21,7 +21,7 @@ let arrayOfPoint3D: Point3D[];
|
||||
let arrayOfSymbol: symbol[];
|
||||
let arrayOfPropertyKey: PropertyKey[];
|
||||
let arrayOfAny: any[];
|
||||
let arrayOfStringAny: [string, any][];
|
||||
let arrayOfStringAny: Array<[string, any]>;
|
||||
let arrayLikeOfAny: ArrayLike<any>;
|
||||
let iterableOfPoint: Iterable<Point>;
|
||||
let iterableOfStringPoint: Iterable<[string, Point]>;
|
||||
@ -57,7 +57,7 @@ let dictOfAny: Dict<any>;
|
||||
|
||||
// #############################################################################################
|
||||
// ECMAScript 6: Object & Function
|
||||
// Modules: es6.object.assign, es6.object.is, es6.object.set-prototype-of,
|
||||
// Modules: es6.object.assign, es6.object.is, es6.object.set-prototype-of,
|
||||
// es6.object.to-string, es6.function.name and es6.function.has-instance.
|
||||
// #############################################################################################
|
||||
|
||||
@ -88,8 +88,8 @@ arrayOfPoint = Array.of(point, point);
|
||||
|
||||
// #############################################################################################
|
||||
// ECMAScript 6: String & RegExp
|
||||
// Modules: es6.string.from-code-point, es6.string.raw, es6.string.code-point-at,
|
||||
// es6.string.ends-with, es6.string.includes, es6.string.repeat,
|
||||
// Modules: es6.string.from-code-point, es6.string.raw, es6.string.code-point-at,
|
||||
// es6.string.ends-with, es6.string.includes, es6.string.repeat,
|
||||
// es6.string.starts-with, and es6.regexp
|
||||
// #############################################################################################
|
||||
|
||||
|
||||
937
core-js/index.d.ts
vendored
937
core-js/index.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@ -2,8 +2,9 @@
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es5",
|
||||
"dom"
|
||||
"es2017",
|
||||
"dom",
|
||||
"dom.iterable"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
|
||||
6
core-js/tslint.json
Normal file
6
core-js/tslint.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"extends": "../tslint.json",
|
||||
"rules": {
|
||||
"forbidden-types": false
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user