feat(createInjectionState): add defaultValue option #4230
Annotations
15 errors and 4 warnings
test (20.x):
packages/shared/createInjectionState/index.test.ts#L17
Type 'Ref<number> | (() => Ref<number>) | undefined' is not assignable to type 'Ref<number> | undefined'.
|
test (20.x):
packages/shared/createInjectionState/index.test.ts#L44
Argument of type '{ injectionKey: InjectionKey<Ref<number>>; }' is not assignable to parameter of type 'CreateInjectionStateOptions<Ref<number>>'.
|
test (20.x):
packages/shared/createInjectionState/index.test.ts#L50
Type 'Ref<number> | (() => Ref<number>) | undefined' is not assignable to type 'Ref<number> | undefined'.
|
test (20.x):
packages/shared/createInjectionState/index.test.ts#L93
Argument of type '{ injectionKey: InjectionKey<Ref<number>>; }' is not assignable to parameter of type 'CreateInjectionStateOptions<Ref<number>>'.
|
test (20.x)
Process completed with exit code 1.
|
test (16.x):
packages/shared/createInjectionState/index.test.ts#L17
Type 'Ref<number> | (() => Ref<number>) | undefined' is not assignable to type 'Ref<number> | undefined'.
|
test (16.x):
packages/shared/createInjectionState/index.test.ts#L44
Argument of type '{ injectionKey: InjectionKey<Ref<number>>; }' is not assignable to parameter of type 'CreateInjectionStateOptions<Ref<number>>'.
|
test (16.x):
packages/shared/createInjectionState/index.test.ts#L50
Type 'Ref<number> | (() => Ref<number>) | undefined' is not assignable to type 'Ref<number> | undefined'.
|
test (16.x):
packages/shared/createInjectionState/index.test.ts#L93
Argument of type '{ injectionKey: InjectionKey<Ref<number>>; }' is not assignable to parameter of type 'CreateInjectionStateOptions<Ref<number>>'.
|
test (16.x)
Process completed with exit code 1.
|
test (18.x):
packages/shared/createInjectionState/index.test.ts#L17
Type 'Ref<number> | (() => Ref<number>) | undefined' is not assignable to type 'Ref<number> | undefined'.
|
test (18.x):
packages/shared/createInjectionState/index.test.ts#L44
Argument of type '{ injectionKey: InjectionKey<Ref<number>>; }' is not assignable to parameter of type 'CreateInjectionStateOptions<Ref<number>>'.
|
test (18.x):
packages/shared/createInjectionState/index.test.ts#L50
Type 'Ref<number> | (() => Ref<number>) | undefined' is not assignable to type 'Ref<number> | undefined'.
|
test (18.x):
packages/shared/createInjectionState/index.test.ts#L93
Argument of type '{ injectionKey: InjectionKey<Ref<number>>; }' is not assignable to parameter of type 'CreateInjectionStateOptions<Ref<number>>'.
|
test (18.x)
Process completed with exit code 1.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|