Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Am I missing something here? Let's say you want to include Chart.js, and imagine there are no type definitions:

    declare var Chart: any;
atop your file, and you can use it the same way you would in JS: without type info. No need to create any type definitions.

Or do you mean something different?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: