Open ibbignerd opened 5 years ago
Currently, arrow functions expressions are interpreted as var.
var
export const myFunc = () => {} turns into declare var myFunc : any; when it should resolve to declare function myFunc (): void;
export const myFunc = () => {}
declare var myFunc : any;
declare function myFunc (): void;
PRs welcome!
Currently, arrow functions expressions are interpreted as
var
.export const myFunc = () => {}
turns intodeclare var myFunc : any;
when it should resolve todeclare function myFunc (): void;