fix: Compatibility with SvelteKit #363
Annotations
30 errors
Node.js 16:
source/core/Ky.ts#L5
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 16:
source/core/Ky.ts#L8
Import "TimeoutOptions" is only used as types.
|
Node.js 16:
source/core/Ky.ts#L10
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 16:
source/core/Ky.ts#L141
Compare with `undefined` directly instead of using `typeof`.
|
Node.js 16:
source/core/Ky.ts#L227
Compare with `undefined` directly instead of using `typeof`.
|
Node.js 16:
source/core/Ky.ts#L257
'@typescript-eslint/no-implicit-any-catch' rule is disabled but never reported.
|
Node.js 16:
source/core/constants.ts#L2
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 16:
source/index.ts#L8
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 16:
source/types/ResponsePromise.ts#L4
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 16:
source/types/ResponsePromise.ts#L6
Use a `type` instead of an `interface`.
|
Node.js 18:
source/core/Ky.ts#L5
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 18:
source/core/Ky.ts#L8
Import "TimeoutOptions" is only used as types.
|
Node.js 18:
source/core/Ky.ts#L10
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 18:
source/core/Ky.ts#L141
Compare with `undefined` directly instead of using `typeof`.
|
Node.js 18:
source/core/Ky.ts#L227
Compare with `undefined` directly instead of using `typeof`.
|
Node.js 18:
source/core/Ky.ts#L257
'@typescript-eslint/no-implicit-any-catch' rule is disabled but never reported.
|
Node.js 18:
source/core/constants.ts#L2
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 18:
source/index.ts#L8
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 18:
source/types/ResponsePromise.ts#L4
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 18:
source/types/ResponsePromise.ts#L6
Use a `type` instead of an `interface`.
|
Node.js 14:
source/core/Ky.ts#L5
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 14:
source/core/Ky.ts#L8
Import "TimeoutOptions" is only used as types.
|
Node.js 14:
source/core/Ky.ts#L10
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 14:
source/core/Ky.ts#L141
Compare with `undefined` directly instead of using `typeof`.
|
Node.js 14:
source/core/Ky.ts#L227
Compare with `undefined` directly instead of using `typeof`.
|
Node.js 14:
source/core/Ky.ts#L257
'@typescript-eslint/no-implicit-any-catch' rule is disabled but never reported.
|
Node.js 14:
source/core/constants.ts#L2
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 14:
source/index.ts#L8
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 14:
source/types/ResponsePromise.ts#L4
All imports in the declaration are only used as types. Use `import type`.
|
Node.js 14:
source/types/ResponsePromise.ts#L6
Use a `type` instead of an `interface`.
|