TypeScriptでDOM操作
TypeScript
で
DOM
を操作する際に型をどうやってつけるか?
lib.dom.d.ts
の型情報を利用できる。
https://www.typescriptlang.org/docs/handbook/dom-manipulation.html