escalier-lang / escalier-next

Improved type safety with tight TypeScript interop
https://escalier-lang.github.io/escalier-next/
MIT License
14 stars 0 forks source link

Require type annotations on params in function types #281

Open kevinbarabash opened 4 months ago

kevinbarabash commented 4 months ago

The following should not be allow:

type Foo = fn (Point) -> number;

the following is what's required:

type Foo = fn (p: Point) -> number;