feat: support groups in a slice's primary section #421
Annotations
3 errors and 1 warning
Types:
test/types/customType-sharedSliceModel.types.ts#L118
Argument of type 'SharedSliceModel<string, SharedSliceModelVariation<string, Record<string, CustomTypeModelFieldForSlicePrimary>, Record<string, CustomTypeModelFieldForGroup>>>' is not assignable to parameter of type '{ id: string; type: "SharedSlice"; name: string; variations: readonly ({ id: string; name: string; description: string; imageUrl: string; docURL: string; version: string; } & { display?: string | undefined; primary?: { ...; } | undefined; items?: { ...; } | undefined; })[]; } & { ...; }'.
|
Types:
test/types/customType-sharedSliceModelVariation.types.ts#L192
Argument of type 'SharedSliceModelVariation<string, Record<string, CustomTypeModelFieldForSlicePrimary>, Record<string, CustomTypeModelFieldForGroup>>' is not assignable to parameter of type '{ id: string; name: string; description: string; imageUrl: string; docURL: string; version: string; } & { display?: string | undefined; primary?: { [x: string]: ({ type: "Color"; } & { fieldset?: string | null | undefined; config?: { ...; } | undefined; }) | ... 13 more ... | ({ ...; } & { ...; }); } | undefined; it...'.
|
Types
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading