3 ms·
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, an
by nothrabannosir 11y ago
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?