Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
leebyron
· 12y ago · 0 comments
I actually started by writing it in TS and later moved to just a TS declaration file and a raw JS source. This means it can be used smoothly in both environments (similar to using a definitelytyped resource).
Comments
[–]
epignosisx
12y ago
What made you go back to plain javascript?
[–]
gregwebs
12y ago
For an ambitious project this is probably still a better approach. But did you try using the --declaration switch?