Types on typescript are not respected
nschurmann opened this issue · 2 comments
nschurmann commented
when i write:
const a = (x: number) => x + 2
a("hello") // returns "hello2"
This should throw an error.
princejwesley commented
@nschurmann Turn off Preferences > Compiler Options > Ignore Semantic Errors
nschurmann commented
lol, thanks @princejwesley