Skip to content

fix: Compatibility with SvelteKit #363

fix: Compatibility with SvelteKit

fix: Compatibility with SvelteKit #363

Triggered via pull request June 11, 2023 16:20
Status Failure
Total duration 1m 31s
Artifacts

main.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

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`.