2
我有問題,我離子的應用程序,在離子&角servicestack一些更新後,給我的錯誤,如下面的離子應用,打字稿出錯找不到名稱「請求模式」
打字稿出錯找不到名稱「請求模式」 。 node_modules/servicestack客戶端/ src目錄/ index.d.ts
oneWayBaseUrl: string;
mode: RequestMode;
credentials: RequestCredentials;
打字稿出錯找不到名稱 'RequestCredentials'。 node_modules/servicestack客戶端/ src目錄/ index.d.ts
mode: RequestMode;
credentials: RequestCredentials;
headers: Headers;
我離子,角度和電腦信息
Typescript : 2.4.2
Ionic Framework: 3.1.1
Ionic App Scripts: 1.3.4
Angular Core: 4.0.2
Angular Compiler CLI: 4.0.2
Node: 6.10.0
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
tsconfig.json文件
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"module": "commonjs",
"lib": ["dom","es2015"],
"moduleResolution": "node",
"sourceMap": true
},
"include": [
"src/**/*.ts",
"typings/**/*.ts"
],
"exclude": [
"node_modules"
],
"compileOnSave": false,
"atom": {
"rewriteTsconfig": false
}
}