Skip to content

Add CacheInterface

Add CacheInterface #68

Triggered via pull request November 15, 2024 10:01
Status Failure
Total duration 23s
Artifacts

ts-compile.yml

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

Annotations

10 errors
build (20.x): tests/options.cache.test.ts#L32
Property 'set' in type 'Cache<Result>' is not assignable to the same property in base type 'Cache<Result, CacheItem<Result>>'.
build (20.x): tests/options.cache.test.ts#L60
Type 'Cache<unknown>' is not assignable to type 'Cache<unknown, CacheItem<unknown>>'.
build (20.x): tests/options.cache.test.ts#L82
Type 'Cache<unknown>' is not assignable to type 'Cache<unknown, CacheItem<unknown>>'.
build (20.x): tests/options.cache.test.ts#L105
Type 'Cache<unknown>' is not assignable to type 'Cache<unknown, CacheItem<unknown>>'.
build (20.x): tests/options.cache.test.ts#L130
Type 'Cache<unknown>' is not assignable to type 'Cache<unknown, CacheItem<unknown>>'.
build (20.x): tests/options.cache.test.ts#L158
Type 'Cache<{ foo: number; }>' is not assignable to type 'Cache<{ foo: number; }, CacheItem<{ foo: number; }>>'.
build (20.x): tests/options.cache.test.ts#L176
Type 'Cache<unknown>' is not assignable to type 'Cache<unknown, CacheItem<unknown>>'.
build (20.x): tests/options.cache.test.ts#L204
Type 'Cache<any>' is not assignable to type 'Cache<any, CacheItem<any>>'.
build (20.x): tests/options.cache.test.ts#L244
Type 'Cache<any>' is not assignable to type 'Cache<any, CacheItem<any>>'.
build (20.x): tests/options.cache.test.ts#L269
Type 'Cache<any>' is not assignable to type 'Cache<any, CacheItem<any>>'.