Definitelytyped: @types/core-jsκ°€ μ‹€μ œλ‘œ μ‚¬μš©λ˜μ§€ μ•Šμ„ λ•Œ @types/core-jsκ°€ typescript/lib/lib.es6.d.ts와 μΆ©λŒν•©λ‹ˆλ‹€.

에 λ§Œλ“  2016λ…„ 10μ›” 04일  Β·  12μ½”λ©˜νŠΈ  Β·  좜처: DefinitelyTyped/DefinitelyTyped

κ°„λ‹¨ν•œ μž¬ν˜„ μ €μž₯μ†Œ: https://github.com/plantain-00/test , npm i && npm run build 이후 였λ₯˜λŠ” λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€.

node_modules/@types/core-js/index.d.ts(21,14): error TS2300: Duplicate identifier 'PropertyKey'.
node_modules/typescript/lib/lib.es6.d.ts(4133,14): error TS2300: Duplicate identifier 'PropertyKey'.

μ˜ˆμƒλ¨: app.ts 이 λΉ„μ–΄ μžˆμœΌλ―€λ‘œ 였λ₯˜κ°€ μ—†μŠ΅λ‹ˆλ‹€. @types/core-js λŠ” static/app.ts λ©λ‹ˆλ‹€.

  "devDependencies": {
    "@types/core-js": "^0.9.34",
    "core-js": "^2.4.1",
    "typescript": "^2.0.3"
  }
@types

κ°€μž₯ μœ μš©ν•œ λŒ“κΈ€

λΉ„μŠ·ν•œ λ¬Έμ œκ°€μžˆμ—ˆμŠ΅λ‹ˆλ‹€. λ‚΄ tsconfig.json μ—μ„œ "skipLibCheck": true 을 compilerOptions ν–ˆμœΌλ©° 도움이 λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

λͺ¨λ“  12 λŒ“κΈ€

lib.es6에 ν¬ν•¨λ˜μ§€ μ•Šμ€ core-js의 μ–΄λ–€ 뢀뢄이 ν•„μš”ν•©λ‹ˆκΉŒ? λ‹¨μˆœνžˆ @types/core-js μ„€μΉ˜ν•˜μ§€ μ•Šμ„ 수 μžˆμŠ΅λ‹ˆκΉŒ?

@aciccarello core-js 및 @types/core-jsλŠ” static/app.ts ν”„λ‘ νŠΈμ—”λ“œμ—μ„œ μ‚¬μš©λ˜λ©° 이 뢀뢄은 잘 μž‘λ™ν•©λ‹ˆλ‹€.

2개의 tsconfig.json . ν•˜λ‚˜λŠ” λ°±μ—”λ“œμš©(es6, μ—¬κΈ°μ„œ 였λ₯˜ λ°œμƒ), λ‹€λ₯Έ ν•˜λ‚˜λŠ” ν”„λ‘ νŠΈμ—”λ“œμš©(es5, 였λ₯˜ μ—†μŒ, 잘 μž‘λ™ν•¨),

@plantain-00 이거 μ•Œμ•„λƒˆμ–΄?
core-js(사전)의 λΉ„ν‘œμ€€ κΈ°λŠ₯ 쀑 일뢀λ₯Ό μ‚¬μš©ν•˜κ³  μ‹Άμ§€λ§Œ μœ ν˜•μ΄ typescripts λΌμ΄λΈŒλŸ¬λ¦¬μ™€ μΆ©λŒν•˜λŠ” λΉ„μŠ·ν•œ λ¬Έμ œκ°€ μžˆμŠ΅λ‹ˆλ‹€.

@jefbarn λΉ„ν‘œμ€€ κΈ°λŠ₯의 경우 μ†”λ£¨μ…˜μ΄ μ—†μŠ΅λ‹ˆλ‹€.
ν‘œμ€€ κΈ°λŠ₯의 경우 @types/core-js λ₯Ό μ œκ±°ν•˜κ³  import "core-js"; 제거 typescript/lib/lib.es6.d.ts λŒ€μ‹  tsconfig.json λ‹€μŒκ³Ό 같이 λ³΄μž…λ‹ˆλ‹€.

{
    "compilerOptions": {
        "module": "commonjs",
        "target": "es5",
        "lib": [
            "es2015",
            "es5",
            "dom",
            "scripthost"
        ]
    }
}

이 λ¬Έμ œλŠ” μ—¬μ „νžˆ ν•„μš”ν•œ 것 κ°™μŠ΅λ‹ˆλ‹€. λ‹€μ‹œ μ—΄κ² μŠ΅λ‹ˆλ‹€.

@types\core-js ν•˜κ³  ES6을 νƒ€κ²ŸνŒ…ν•˜λŠ” 이 λ¬Έμ œκ°€ μžˆμŠ΅λ‹ˆλ‹€.

@anorborg λ‹€μŒκ³Ό 같은 방법을 μ‚¬μš©ν•˜μ—¬ 상황을 νŒŒμ•…ν–ˆμŠ΅λ‹ˆλ‹€.

  "compilerOptions": {
    "module": "commonjs",
    "target": "es6",
    "moduleResolution": "node",
    "lib": ["es5", "dom"],
    ...
  }

@jefbarn μž‘λ™ν–ˆμŠ΅λ‹ˆλ‹€. 기본적으둜 core-js 및 typescript 2.x es6.d.ts λΌμ΄λΈŒλŸ¬λ¦¬κ°€ μΆ©λŒν•˜κ³  μ΄λŠ” typescriptκ°€ es6.d.ts μ‚¬μš©ν•˜μ§€ μ•Šλ„λ‘ μ§€μ‹œν•©λ‹ˆλ‹€. 더 _μˆœμˆ˜ν•œ_ μ†”λ£¨μ…˜μ€ 전체 core-js μ •μ˜λ₯Ό ν¬ν•¨ν•˜λŠ” λŒ€μ‹  core-js (예: core-js-es6-object )에 λŒ€ν•œ 일뢀 λͺ¨λ“ˆ μœ ν˜• μ •μ˜λ₯Ό λ§Œλ“œλŠ” κ²ƒμž…λ‹ˆλ‹€. 이것을 λ‘œμ»¬μ—μ„œ μ‹œμž‘ν•˜λ €κ³  ν–ˆμ§€λ§Œ 둜컬 μ‚¬μš©μž μ •μ˜ μœ ν˜•μ΄ μž‘λ™ν•˜λ„λ‘ ν•  수 μ—†μŠ΅λ‹ˆλ‹€. μ‹œκ°„μ΄ μžˆλ‹€λ©΄ 그것을 μ•Œμ•„λ‚΄κ³  λͺ¨λ“  λͺ¨λ“ˆμ— λŒ€ν•œ PR을 λ§Œλ“€λ €κ³  λ…Έλ ₯ν•  κ²ƒμž…λ‹ˆλ‹€.

관심을 끌기 μœ„ν•΄ λΆ€λ”ͺμΉ©λ‹ˆλ‹€.

방금 이 ts ꡬ성을 μ‚¬μš©ν•˜μ—¬ tsc 2.2.0 둜 μƒˆ ν”„λ‘œμ νŠΈλ₯Ό λ§Œλ“€μ—ˆμŠ΅λ‹ˆλ‹€.

{
  "compilerOptions": {
    "outDir": "./build/",
    "rootDir": "./src/",
    "baseUrl": ".",
    "sourceMap": true,
    "noImplicitAny": false,
    "module": "commonjs",
    "target": "es6"
  },
  "include": [
    "./src/**/*.ts"
  ],
  "compileOnSave": false
}

λ‹€μŒκ³Ό 같은 였λ₯˜κ°€ λ°œμƒν•©λ‹ˆλ‹€.

node_modules/@types/core-js/index.d.ts(21,14): error TS2300: Duplicate identifier 'PropertyKey'.
node_modules/@types/core-js/index.d.ts(85,5): error TS2687: All declarations of 'name' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(145,5): error TS2403: Subsequent variable declarations must have the same type.  Variable '[Symbol.unscopables]' must be of type '{ copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: ...', but here has type 'any'.
node_modules/@types/core-js/index.d.ts(262,5): error TS2687: All declarations of 'flags' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(276,5): error TS2687: All declarations of 'EPSILON' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(311,5): error TS2687: All declarations of 'MAX_SAFE_INTEGER' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(318,5): error TS2687: All declarations of 'MIN_SAFE_INTEGER' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(457,5): error TS2403: Subsequent variable declarations must have the same type.  Variable '[Symbol.toStringTag]' must be of type '"Symbol"', but here has type 'string'.
node_modules/@types/core-js/index.d.ts(457,5): error TS2687: All declarations of '[Symbol.toStringTag]' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(464,5): error TS2687: All declarations of 'prototype' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(492,5): error TS2687: All declarations of 'hasInstance' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(498,5): error TS2687: All declarations of 'isConcatSpreadable' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(504,5): error TS2687: All declarations of 'iterator' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(510,5): error TS2687: All declarations of 'match' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(516,5): error TS2687: All declarations of 'replace' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(522,5): error TS2687: All declarations of 'search' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(528,5): error TS2687: All declarations of 'species' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(534,5): error TS2687: All declarations of 'split' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(540,5): error TS2687: All declarations of 'toPrimitive' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(546,5): error TS2687: All declarations of 'toStringTag' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(552,5): error TS2687: All declarations of 'unscopables' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(609,5): error TS2403: Subsequent variable declarations must have the same type.  Variable '[Symbol.toStringTag]' must be of type '"Math"', but here has type 'string'.
node_modules/@types/core-js/index.d.ts(609,5): error TS2687: All declarations of '[Symbol.toStringTag]' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(613,5): error TS2403: Subsequent variable declarations must have the same type.  Variable '[Symbol.toStringTag]' must be of type '"JSON"', but here has type 'string'.
node_modules/@types/core-js/index.d.ts(613,5): error TS2687: All declarations of '[Symbol.toStringTag]' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(628,5): error TS2687: All declarations of 'size' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(634,5): error TS2687: All declarations of 'prototype' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(645,5): error TS2687: All declarations of 'size' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(651,5): error TS2687: All declarations of 'prototype' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(656,11): error TS2428: All declarations of 'WeakMap' must have identical type parameters.
node_modules/@types/core-js/index.d.ts(664,27): error TS2344: Type 'K' does not satisfy the constraint 'object'.
node_modules/@types/core-js/index.d.ts(665,53): error TS2344: Type 'K' does not satisfy the constraint 'object'.
node_modules/@types/core-js/index.d.ts(666,5): error TS2687: All declarations of 'prototype' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(680,5): error TS2687: All declarations of 'prototype' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(692,5): error TS2687: All declarations of 'value' must have identical modifiers.
node_modules/@types/core-js/index.d.ts(804,5): error TS2687: All declarations of 'prototype' must have identical modifiers.
node_modules/typescript/lib/lib.es6.d.ts(4199,14): error TS2300: Duplicate identifier 'PropertyKey'.

λŒ€μƒμ„ es5 λ³€κ²½ν•˜λ©΄ κΉ¨λ—ν•œ λΉŒλ“œκ°€ λ©λ‹ˆλ‹€.

이 λ¬Έμ œκ°€ μ–΄λ–»κ²Œ κ·Έλ ‡κ²Œ μž‘μ€ 관심을 λ°›μ•˜λŠ”μ§€ 잘 λͺ¨λ₯΄κ² μŠ΅λ‹ˆλ‹€. ν™•μ‹€νžˆ λ§Žμ€ μ‚¬λžŒλ“€μ΄ TSλ₯Ό μ‚¬μš©ν•˜μ—¬ ES6을 λŒ€μƒμœΌλ‘œ ν•˜λ €κ³  ν•˜κ³  있으며 이 λ¬Έμ œμ— λΆ€λ”ͺ힐 κ²ƒμž…λ‹ˆκΉŒ?

@wyqydsyq core.js와 ES6은 λͺ¨λ‘ λ™μΌν•œ μ •μ˜λ₯Ό 많이 μ •μ˜ν•©λ‹ˆλ‹€. @types/core.jsλ₯Ό ν¬ν•¨ν•˜μ§€ μ•Šκ±°λ‚˜ tsconfigμ—μ„œ "lib": ["es5", "dom"]을 μ„€μ •ν•˜μ‹­μ‹œμ˜€.

저도 λΉ„μŠ·ν•œ κ°ˆλ“±μ„ κ²ͺκ³  μžˆμŠ΅λ‹ˆλ‹€.

1>c:\Program Files (x86)\Microsoft SDKs\TypeScript\2.6\lib.es2015.iterable.d.ts(203,11): 였λ₯˜ TS2300: λΉŒλ“œ:쀑볡 μ‹λ³„μž '약속'.1>c:\Program Files (x86)\Microsoft SDKs\TypeScript\2.6\lib.es2015.promise.d.ts(223,13): 였λ₯˜ TS2300: λΉŒλ“œ:쀑볡 μ‹λ³„μž '약속'.1>c:\Program Files (x86)\Microsoft SDKs\TypeScript\2.6\lib.es2015.symbol.wellknown.d.ts(168,11): 였λ₯˜ TS2300: λΉŒλ“œ:쀑볡 μ‹λ³„μž '약속'.1>c:\Program Files (x86)\Microsoft SDKs\TypeScript\2.6\lib.es5.d.ts(1292,11): 였λ₯˜ TS2300: λΉŒλ“œ:쀑볡 μ‹λ³„μž '약속'.1>c:\users\username\node_modules\@types\es6-promise\index.d.ts(11,15): 였λ₯˜ TS2300: λΉŒλ“œ:쀑볡 μ‹λ³„μž '약속'.1>c:\users\username\node_modules\@types\es6-promise\index.d.ts(42,19): 였λ₯˜ TS2300: λΉŒλ“œ:쀑볡 μ‹λ³„μž '약속'.

tsconfig: -

{
"컴파일러 μ˜΅μ…˜": {
"λŒ€μƒ": "es5",
"λͺ¨λ“ˆ": "commonjs",
"moduleResolution": "λ…Έλ“œ",
"sourceMap": μ°Έ,
"emitDecoratorMetadata": μ°Έ,
"μ‹€ν—˜μ μΈ λ°μ½”λ ˆμ΄ν„°": true,
"lib": [ "es2015", "dom" ],
"noImplicitAny": μ°Έ,
"suppressImplicitAnyIndexErrors": μ°Έ,
"noStrictGenericChecks": true
}
}

νŒ¨ν‚€μ§€.Json:

{
  "name": "angular-quickstart",
  "version": "1.0.0",
  "description": "QuickStart package.json from the documentation, supplemented with testing support",
  "scripts": {
    "build": "tsc -p src/",
    "build:watch": "tsc -p src/ -w",
    "build:e2e": "tsc -p e2e/",
    "serve": "lite-server -c=bs-config.json",
    "serve:e2e": "lite-server -c=bs-config.e2e.json",
    "prestart": "npm run build",
    "start": "concurrently \"npm run build:watch\" \"npm run serve\"",
    "pree2e": "npm run build:e2e",
    "e2e": "concurrently \"npm run serve:e2e\" \"npm run protractor\" --kill-others --success first",
    "preprotractor": "webdriver-manager update",
    "protractor": "protractor protractor.config.js",
    "pretest": "npm run build",
    "test": "concurrently \"npm run build:watch\" \"karma start karma.conf.js\"",
    "pretest:once": "npm run build",
    "test:once": "karma start karma.conf.js --single-run",
    "lint": "tslint ./src/**/*.ts -t verbose"
  },
  "keywords": [],
  "author": "",
  "license": "MIT",
  "dependencies": {
    "@angular/common": "~4.3.4",
    "@angular/compiler": "~4.3.4",
    "@angular/core": "~4.3.4",
    "@angular/forms": "~4.3.4",
    "@angular/http": "~4.3.4",
    "@angular/platform-browser": "~4.3.4",
    "@angular/platform-browser-dynamic": "~4.3.4",
    "@angular/router": "~4.3.4",
    "angular-in-memory-web-api": "~0.3.0",
    "systemjs": "0.19.40",
    "core-js": "^2.4.1",
    "rxjs": "5.0.1",
    "zone.js": "^0.8.4"
  },
  "devDependencies": {
    "concurrently": "^3.2.0",
    "lite-server": "^2.2.2",
    "typescript": "2.6.0",
    "canonical-path": "0.0.2",
    "tslint": "^3.15.1",
    "lodash": "^4.16.4",
    "jasmine-core": "~2.4.1",
    "karma": "^1.3.0",
    "karma-chrome-launcher": "^2.0.0",
    "karma-cli": "^1.0.1",
    "karma-jasmine": "^1.0.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~4.0.14",
    "rimraf": "^2.5.4",
    "@types/node": "^6.0.46",
    "@types/jasmine": "2.5.36"
  },
  "repository": {}
}

npm 5.5.1
λ…Έλ“œ 8.9.1

ν•΄κ²° 방법이 μžˆμŠ΅λ‹ˆκΉŒ?

λΉ„μŠ·ν•œ λ¬Έμ œκ°€μžˆμ—ˆμŠ΅λ‹ˆλ‹€. λ‚΄ tsconfig.json μ—μ„œ "skipLibCheck": true 을 compilerOptions ν–ˆμœΌλ©° 도움이 λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

μ•ˆλ…•ν•˜μ„Έμš”

./node_modules/@types/core-js/index.d.ts:1461:36 - 였λ₯˜ TS2339: 'SymbolConstructor' μœ ν˜•μ— 'for' 속성이 μ—†μŠ΅λ‹ˆλ‹€.

1461ν™”
~~~

../node_modules/@types/core-js/index.d.ts:1465:43 - 였λ₯˜ TS2339: 속성 'hasInstance'κ°€ 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

1465 const hasInstance: typeof core.Symbol.hasInstance
~ ~ ~

../node_modules/@types/core-js/index.d.ts:1469:50 - 였λ₯˜ TS2339: 'isConcatSpreadable' 속성이 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

1469 const isConcatSpreadable: typeof core.Symbol.isConcatSpreadable;
~ ~ ~ ~

../node_modules/@types/core-js/index.d.ts:1477:38 - 였λ₯˜ TS2339: 'SymbolConstructor' μœ ν˜•μ— 'keyFor' 속성이 μ—†μŠ΅λ‹ˆλ‹€.

1477 const keyFor: typeof core.Symbol.keyFor
~ ~

../node_modules/@types/core-js/index.d.ts:1481:37 - 였λ₯˜ TS2339: 'Match' 속성이 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

1481 const 일치: typeof core.Symbol.match;
~

../node_modules/@types/core-js/index.d.ts:1485:39 - 였λ₯˜ TS2339: 'SymbolConstructor' μœ ν˜•μ— 'replace' 속성이 μ—†μŠ΅λ‹ˆλ‹€.

1485 const ꡐ체: typeof core.Symbol.replace;
~ ~

../node_modules/@types/core-js/index.d.ts:1489:38 - 였λ₯˜ TS2339: '검색' 속성이 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

1489 const 검색: typeof core.Symbol.search;
~ ~

../node_modules/@types/core-js/index.d.ts:1493:39 - 였λ₯˜ TS2339: 'SymbolConstructor' μœ ν˜•μ— 'species' 속성이 μ—†μŠ΅λ‹ˆλ‹€.

1493 const μ’…: typeof core.Symbol.species;
~ ~

../node_modules/@types/core-js/index.d.ts:1497:37 - 였λ₯˜ TS2339: 'SymbolConstructor' μœ ν˜•μ— 'split' 속성이 μ—†μŠ΅λ‹ˆλ‹€.

1497 const λΆ„ν• : typeof core.Symbol.split;
~

../node_modules/@types/core-js/index.d.ts:1501:43 - 였λ₯˜ TS2339: 'toPrimitive' 속성이 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

1501 const toPrimitive: typeof core.Symbol.toPrimitive;
~ ~ ~

../node_modules/@types/core-js/index.d.ts:1505:43 - 였λ₯˜ TS2339: 'toStringTag' 속성이 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

1505 const toStringTag: typeof core.Symbol.toStringTag;
~ ~ ~

../node_modules/@types/core-js/index.d.ts:1509:43 - 였λ₯˜ TS2339: 'SymbolConstructor' μœ ν˜•μ— 'unscopables' 속성이 μ—†μŠ΅λ‹ˆλ‹€.

1509 const unscopables: typeof core.Symbol.unscopables;
~ ~ ~

../node_modules/@types/core-js/index.d.ts:2272:36 - 였λ₯˜ TS2339: 'SymbolConstructor' μœ ν˜•μ— 'for' 속성이 μ—†μŠ΅λ‹ˆλ‹€.

2272
~~~

../node_modules/@types/core-js/index.d.ts:2276:43 - 였λ₯˜ TS2339: 'hasInstance' 속성이 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

2276 const hasInstance: typeof core.Symbol.hasInstance;
~ ~ ~

../node_modules/@types/core-js/index.d.ts:2280:50 - 였λ₯˜ TS2339: 'isConcatSpreadable' 속성이 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

2280
~ ~ ~ ~

../node_modules/@types/core-js/index.d.ts:2288:38 - 였λ₯˜ TS2339: 'SymbolConstructor' μœ ν˜•μ— 'keyFor' 속성이 μ—†μŠ΅λ‹ˆλ‹€.

2288 const keyFor: typeof core.Symbol.keyFor;
~ ~

../node_modules/@types/core-js/index.d.ts:2292:37 - 였λ₯˜ TS2339: 'Match' 속성이 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

2292 const 일치: typeof core.Symbol.match;
~

../node_modules/@types/core-js/index.d.ts:2296:39 - 였λ₯˜ TS2339: 'λŒ€μ²΄' 속성이 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

2296 const ꡐ체: typeof core.Symbol.replace;
~ ~

../node_modules/@types/core-js/index.d.ts:2300:38 - 였λ₯˜ TS2339: '검색' 속성이 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

2300 const 검색: typeof core.Symbol.search;
~ ~

../node_modules/@types/core-js/index.d.ts:2304:39 - 였λ₯˜ TS2339: 'SymbolConstructor' μœ ν˜•μ— 'species' 속성이 μ—†μŠ΅λ‹ˆλ‹€.

2304 const μ’…: typeof core.Symbol.species;
~ ~

../node_modules/@types/core-js/index.d.ts:2308:37 - 였λ₯˜ TS2339: 'SymbolConstructor' μœ ν˜•μ— 'λΆ„ν• ' 속성이 μ—†μŠ΅λ‹ˆλ‹€.

2308 const λΆ„ν• : typeof core.Symbol.split;
~

../node_modules/@types/core-js/index.d.ts:2312:43 - 였λ₯˜ TS2339: 'toPrimitive' 속성이 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

2312 const toPrimitive: typeof core.Symbol.toPrimitive;
~ ~ ~

../node_modules/@types/core-js/index.d.ts:2316:43 - 였λ₯˜ TS2339: 'toStringTag' 속성이 'SymbolConstructor' μœ ν˜•μ— μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

2316 const toStringTag: typeof core.Symbol.toStringTag;
~ ~ ~

../node_modules/@types/core-js/index.d.ts:2320:43 - 였λ₯˜ TS2339: 'SymbolConstructor' μœ ν˜•μ— 'unscopables' 속성이 μ—†μŠ΅λ‹ˆλ‹€.

2320 const unscopables: typeof core.Symbol.unscopables;
~ ~ ~

이것은 λ‚΄κ°€ μ–»λŠ” 였λ₯˜μž…λ‹ˆλ‹€

λ‚΄ tsconfig
{
"compileOnSave": 거짓,
"컴파일러 μ˜΅μ…˜": {
"baseUrl": "",
"outDir": "./dist/out-tsc",
"sourceMap": μ°Έ,
"μ„ μ–Έ": 거짓,
"downlevelIteration": μ°Έ,
"μ‹€ν—˜μ μΈ λ°μ½”λ ˆμ΄ν„°": true,
"λͺ¨λ“ˆ": "es6",
"moduleResolution": "λ…Έλ“œ",
"importHelpers": μ°Έ,
"λŒ€μƒ": "es5",
"μœ ν˜•λ£¨νŠΈ": [
"node_modules/@types"
],
"lib": [
"μ—μŠ€5",
"es2015",
"es2017",
"돔",
"슀크립트 호슀트"
],
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": μ°Έ,
"strictInjectionParameters": μ°Έ
}
}
문제λ₯Ό ν•΄κ²°ν•˜λ„λ‘ λ„μ™€μ£Όμ„Έμš”

이 νŽ˜μ΄μ§€κ°€ 도움이 λ˜μ—ˆλ‚˜μš”?
0 / 5 - 0 λ“±κΈ‰