generated from johngeorgewright/ts-module
-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
Description
As the title says, if you use the NEVER type, you will get Error: !!! TYPE never NOT PARSED !!! will be displayed.
You may think that you would never use never in a type definition, but it appears in the form Record<string, never>(in runtypes: Dictionary(String, Never)) when you want to define an "Object that contains nothing".
I'd like to see support for parse of type never! (Or is there another way to represent an empty object...?)
(thanks for making runtyping! I'm commenting from Japan, so apologies if my English is wrong)