-
Notifications
You must be signed in to change notification settings - Fork 714
Open
Description
Feel free to change title, I'm not sure what is wrong here.
Steps to reproduce
Behavior with typescript@5.8
npx tsc
(empty - exits successfully)
Behavior with tsgo
$ npx tsgo
src/index.ts:4:22 - error TS2741: Property '[Kind]' is missing in type 'TUnion<[TLiteral<"NORMAL">, TLiteral<"SUPERUSER">]>' but required in type 'TSchema'.
4 type MyType = Static<typeof UserType>
~~~~~~~~~~~~~~~
node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts:21:5 - '[Kind]' is declared here.
21 [Kind]: string;
~~~~~~
Found 1 error in src/index.ts:4
Metadata
Metadata
Assignees
Labels
No labels