TypeScript λ²μ : 2.3.2
μνΈ
navigator.languages
μμλλ λμ :
μ μλμ΄μΌνλ©° string[]
μ νμ΄μ΄μΌν©λλ€.
μ€μ νλ :
μ»΄νμΌλ¬ μ€λ₯ :
Property 'languages' does not exist on type 'Navigator'.
μ΄ λ¬Έμ λ₯Ό ν΄κ²°νκΈ° μν΄ μ¬κΈ°μμ PRμ μ΄μμ΅λλ€ : https://github.com/Microsoft/TSJS-lib-generator/pull/263
PRμ΄ Microsoft / TSJS-lib-generator μ λ³ν©
https://github.com/Microsoft/TypeScript/commit/c8d33bc38ec61e923d6ff62c2e7b004bc56c6e5bμ μν΄ μμ λμμ΅λλ€.
Typescript 2.4.2 (And Angular 4)λ₯Ό μ¬μ©νκ³ μλλ° λμΌν λ¬Έμ κ° μμ΅λλ€.
κ°μ₯ μ μ©ν λκΈ
Typescript 2.4.2 (And Angular 4)λ₯Ό μ¬μ©νκ³ μλλ° λμΌν λ¬Έμ κ° μμ΅λλ€.