Skip to content

fix(session): build error #43

fix(session): build error

fix(session): build error #43

Triggered via push June 28, 2024 09:30
Status Failure
Total duration 22s
Artifacts

npm-deploy.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build
Type 'MemcacheSession' is not assignable to type 'BaseSession'.
build
Type 'RedisSession' is not assignable to type 'BaseSession'.
build
Object is possibly 'undefined'.
build
Type 'MySQLSession' is not assignable to type 'BaseSession'.
build
Object is possibly 'undefined'.
build
Property 'remove' is missing in type '{ get: <T>(key: string, defaultValue?: any) => Promise<T | undefined>; getAll: <T>() => Promise<T | undefined> | undefined; set: (key: string, val: any) => Promise<void> | undefined; }' but required in type 'Session'.
build
Property 'clear' in type 'MemcacheSession' is not assignable to the same property in base type 'BaseSession'.
build
Property 'clear' in type 'MySQLSession' is not assignable to the same property in base type 'BaseSession'.
build
Property 'clear' in type 'RedisSession' is not assignable to the same property in base type 'BaseSession'.
build
Process completed with exit code 2.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, TriPSs/conventional-changelog-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.