some fixes #1350
Annotations
10 errors and 1 warning
Typecheck:
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<...>]>>>>; }> | { ...; }'.
|
Typecheck:
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'.
|
Typecheck:
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<...>]>>>>; }> | { ...; }'.
|
Typecheck:
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'.
|
Typecheck:
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<[...]>>>>; }> | { ...; }>'.
|
Typecheck:
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<...>]>>>>; }> | { ...; }'.
|
Typecheck:
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'.
|
Typecheck:
packages/json/src/pkg.ts#L175
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<...>]>>>>; }> | { ...; }'.
|
Typecheck:
packages/json/src/pkg.ts#L175
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'.
|
Typecheck:
packages/json/src/pkg.ts#L200
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<...>]>>>>; }> | { ...; }'.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading