Closed rslawik closed 4 years ago
This allows TypeScript to recognise <google-chart> as a custom element.
<google-chart>
Example of inferring the correct type:
const chart = document.createElement('google-chart');
This allows TypeScript to recognise
<google-chart>
as a custom element.Example of inferring the correct type: