Keeping a public list of questions that come up about Typescript so that I can easily share them I guess? I don't know.
- If you're writing a library, and you depend on a library, and your API requires args that you pass into the deeper library, should you wrap that library's types, or expose them? Is it bad practice to expose them? If so, how do you wrap them without going all the way to the bottom of the type stack?
- Really no ints? I did some searching around and the argument seems to be "js doesn't have ints at runtime so typescript can't have them". But a) javascript absolutely has ints at runtime thanks to some interpreter optimisations (even though yes they're not mentioned in the spec), and b) javascript doesn't have other typescript types at runtime, and typescript still has them, so what's the difference there?
- Maybe this is a bad pattern, but if I have some function that takes a list of values of a particular enum, and returns an object with keys correspo