我的公司最近更新到最新的 typescript 定义,该定义与来自 distinctlyTyped 的 lodash 库使用tsd
并突然遇到这些打字错误。如果有人能在这方面指出或帮助,我们将非常感谢......
我们正在使用带有 Typescript 的 AngularJS [免责声明]
错误
error TS4063: Parameter 'lodash' of constructor from exported class has or is using private name '_'.
typings/lodash/lodash.d.ts(6497,19): error TS1005: '=' expected.
typings/lodash/lodash.d.ts(6497,23): error TS1005: '(' expected.
typings/lodash/lodash.d.ts(6498,19): error TS1005: '=' expected.
typings/lodash/lodash.d.ts(6498,27): error TS1005: '(' expected.
typings/lodash/lodash.d.ts(6499,19): error TS1005: '=' expected.
typings/lodash/lodash.d.ts(6499,31): error TS1005: '(' expected.
typings/lodash/lodash.d.ts(6500,19): error TS1005: '=' expected.
typings/lodash/lodash.d.ts(6500,35): error TS1005: '(' expected.
typings/lodash/lodash.d.ts(6501,19): error TS1005: '=' expected.
typings/lodash/lodash.d.ts(6501,39): error TS1005: '(' expected.