mirror of
https://github.com/sindresorhus/type-fest.git
synced 2025-12-08 19:25:05 +00:00
Fix linting
This commit is contained in:
parent
5ac9d29de6
commit
198f2c2e01
@ -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
2
source/basic.d.ts
vendored
@ -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`.
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
{
|
||||
"extends": "@sindresorhus/tsconfig"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user