这是indexloc提供的服务,不要输入任何密码
Skip to content

Never type is not parsed #399

@AsPulse

Description

@AsPulse

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)

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions