Last active
June 17, 2021 19:25
-
-
Save florianmartens/57b83acfc325410017c84568aa88b011 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface BigType {} | |
const zap: BigType = { | |
foo: "foo", | |
bar: "bar", | |
// -> You can add a million properties to this | |
// -> And it would still be of type BigType | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment