Closed DarkGL closed 1 month ago
How do I specify that an object cannot have any additional properties beyond those defined in the schema?
I don't believe there is such a concept in TypeScript, and there is definitely no support for it in ts-auto-guard, which validates types at runtime.
How do I specify that an object cannot have any additional properties beyond those defined in the schema?