princejwesley/Mancy

Types on typescript are not respected

nschurmann opened this issue · 2 comments

when i write:

const a = (x: number) => x + 2
a("hello") // returns "hello2"

This should throw an error.

@nschurmann Turn off Preferences > Compiler Options > Ignore Semantic Errors
image

image

lol, thanks @princejwesley