Fix linting

This commit is contained in:
Sindre Sorhus 2020-03-10 12:08:43 +08:00
parent 5ac9d29de6
commit 198f2c2e01
3 changed files with 1 additions and 9 deletions

View File

@ -32,12 +32,7 @@
"json"
],
"devDependencies": {
"@sindresorhus/tsconfig": "^0.7.0",
"@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0",
"eslint-config-xo-typescript": "^0.26.0",
"tsd": "^0.7.3",
"typescript": "^3.8.3",
"xo": "^0.27.2"
},
"types": "index.d.ts",

2
source/basic.d.ts vendored
View File

@ -17,7 +17,7 @@ export type Primitive =
/**
Matches a [`class` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).
*/
export type Class<T = unknown, Arguments extends any[] = any[]> = new(...arguments_: Arguments) => T; // eslint-disable-line @typescript-eslint/type-annotation-spacing
export type Class<T = unknown, Arguments extends any[] = any[]> = new(...arguments_: Arguments) => T;
/**
Matches any [typed array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray), like `Uint8Array` or `Float64Array`.

View File

@ -1,3 +0,0 @@
{
"extends": "@sindresorhus/tsconfig"
}