「地圖」,我有以下錯誤突然發生重複標識符離子
Typescript Error
Duplicate identifier 'Map'.
/node_modules/@types/googlemaps/index.d.ts
試過這種方式,但它不是固定
ionic 2 Duplicate identifier 'export='
我tsconfig文件看起來像下面
{
"compilerOptions": {
"target": "es5",
"module": "es2015",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"declaration": false,
"sourceMap": true,
"noUnusedParameters": false,
"lib": [
"dom",
"es2015"
]
},
"types": [
"jasmine"
],
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules"
],
"compileOnSave": false,
"atom": {
"rewriteTsconfig": false
},
"awesomeTypescriptLoaderOptions": {
"forkChecker": true,
"useWebpackText": true
}
}
ion -v 3.2.0
你是否因類型聲明而在類型數組中包含jasmine? –