5
我只是想從absolutelyTyped,here編譯最新版本的jquery聲明文件。Typescript錯誤消息錯誤TS2173:泛型類型引用必須包含所有類型參數
我這裏有,現在的問題是這樣的:運行
C:/nodejs/tsc.cmd --sourcemap jquery.d.ts --module commonjs --target ES5
C:/gamesbrainiac/d.ts/DefinitelyTyped/jquery/jquery.d.ts(491,40): error TS2173: Generic type references must include all type arguments.
node
@0.10.3
版本和Typescript
@0.9.1.1
版本。
這個錯誤是什麼意思,我想了解錯誤信息,以便我可以自己解決問題,而不是要求別人爲我做。
但是,你能解釋一下你在做什麼嗎?當你添加尖括號時,還有錯誤,那是問題的一部分。 –
它們被稱爲「泛型類型參數」。擴展的答案以及:) – basarat