TypeScript ๋ฒ์ : nightly(2.1.0-dev.201xxxxx)
์ํธ
// A *self-contained* demonstration of the problem follows...
for(const a of document.querySelectorAll('div')) {}
์์๋๋ ๋์:
์ปดํ์ผํด์ผ ํฉ๋๋ค.
์ค์ ํ๋:
error TS2495: Type 'NodeListOf<Element>' is not an array type or a string type
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ