Skip to content

Commit

Permalink
use const param for Class
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Aug 20, 2024
1 parent 98cd314 commit 27f47d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/experimental/src/VariantSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ export const make = <
}
readonly Class: <Self = never>(
identifier: string
) => <Fields extends Struct.Fields>(
) => <const Fields extends Struct.Fields>(
fields: Fields,
annotations?: Schema.Annotations.Schema<Self>
) => [Self] extends [never] ? MissingSelfGeneric
Expand Down

0 comments on commit 27f47d6

Please sign in to comment.