Answers for "typescript doesn't know type of HTML element"

0

typescript doesn't know type of HTML element

const inputField = document.getElementById('sample') as HTMLInputElement;

const submitButton = document.getElementById('sampleButton') as HTMLButtonElement;
Posted by: Guest on December-21-2020

Code answers related to "typescript doesn't know type of HTML element"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language