[core] Add basic support for state invariant
#9767
Annotations
3 errors and 1 warning
packages/core/test/invariant.test.ts#L174
Type '(x: AssignArgs<{ user: { name: string; age: number; } | null; }, AnyEventObject, EventObject, ProvidedActor>) => { age: number; name?: string | undefined; }' is not assignable to type '{ name: string; age: number; } | PartialAssigner<{ user: { name: string; age: number; } | null; }, AnyEventObject, undefined, EventObject, ProvidedActor, "user"> | null | undefined'.
|
packages/core/test/invariant.test.ts#L181
'x.context.user' is possibly 'null'.
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
This job failed
Loading