option to disable number grouping #1296
Annotations
10 errors and 1 warning
packages/json/src/conversion.ts#L60
Type '{ variant: "List"; data: { value: ({ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<...> | { ...; })[]; }; }' is not assignable to type 'JSONValue | null'.
|
packages/json/src/conversion.ts#L129
Type '{ variant: "List"; data: { value: ({ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<...> | { ...; })[]; }; }' is not assignable to type 'JSONValue | null'.
|
packages/json/src/conversion.ts#L131
Type 'JSONValue[]' is not assignable to type '({ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; })[]'.
|
packages/json/src/pkg.ts#L38
Argument of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | { variant: "List"; data: { value: JSONValue[]; }; } | { ...; }' is not assignable to parameter of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; }'.
|
packages/json/src/pkg.ts#L62
Argument of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; }' is not assignable to parameter of type 'JSONValue'.
|
packages/json/src/pkg.ts#L83
Argument of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | { variant: "List"; data: { value: JSONValue[]; }; } | { ...; }' is not assignable to parameter of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; }'.
|
packages/json/src/pkg.ts#L110
Argument of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; }' is not assignable to parameter of type 'JSONValue'.
|
packages/json/src/pkg.ts#L126
Argument of type 'Option<{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | { variant: "List"; data: { value: JSONValue[]; }; } | { ...; }>' is not assignable to parameter of type 'Option<{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[...]>>>>; }> | { ...; }>'.
|
packages/json/src/pkg.ts#L150
Property 'variant' does not exist on type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; }'.
|
packages/json/src/pkg.ts#L150
Argument of type '{ variant: "Null"; } | { variant: "Bool"; data: { value: boolean; }; } | { variant: "Number"; data: { value: number; }; } | { variant: "String"; data: { value: string; }; } | EnumVariant<"List", { value: Field<ListType<EnumType<Enum<[EnumVariant<...>, ... 4 more ..., EnumVariant<...>]>>>>; }> | { ...; }' is not assignable to parameter of type 'JSONValue'.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading