feat(storage): provide type safety for useStorage #4605
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
14 errors
lint:
src/runtime/storage.ts#L3
`#internal/nitro/virtual/storage` import should occur after type import of `../../types/utils`
|
lint:
src/runtime/storage.ts#L4
A space is required after '{'
|
lint:
src/runtime/storage.ts#L4
A space is required before '}'
|
lint:
src/runtime/storage.ts#L5
A space is required after '{'
|
lint:
src/runtime/storage.ts#L5
A space is required before '}'
|
lint
Process completed with exit code 1.
|
ci (ubuntu-latest):
src/runtime/storage.ts#L4
Cannot find module '../../utils/storage' or its corresponding type declarations.
|
ci (ubuntu-latest):
src/runtime/storage.ts#L5
Cannot find module '../../types/utils' or its corresponding type declarations.
|
ci (ubuntu-latest):
src/runtime/storage.ts#L8
'StorageKeys' cannot be used as a value because it was imported using 'import type'.
|
ci (ubuntu-latest):
src/runtime/storage.ts#L8
The value 'undefined' cannot be used here.
|
ci (ubuntu-latest):
src/runtime/storage.ts#L10
Argument of type 'number' is not assignable to parameter of type 'string'.
|
ci (ubuntu-latest)
Process completed with exit code 1.
|
ci (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
ci (windows-latest)
The operation was canceled.
|