Tip
Restrict that a property cannot exist on a typescript object type.
How can you create a TypeScript object type which cannot have a property at all? Learn the semantics of combining optional property and the never type.
Tip
How can you create a TypeScript object type which cannot have a property at all? Learn the semantics of combining optional property and the never type.