fix(language-service): Use index.d.ts for typings (#33043)

The current `typings` value in `package.json` causes the import of
`@angular/language-service` in TypeScript to be generated as

```
const language_service_1 = require("@angular/language-service/language-service");
```
in CJS output.

This breaks the import shim that overwrites the behavior of `require` at
runtime. Changing the typings to `index.d.ts` fixes the issue.

PR Close #33043
This commit is contained in:
Keen Yee Liau 2019-10-08 16:02:34 -07:00 committed by Miško Hevery
parent f640a4a494
commit 728cd8446f
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
"description": "Angular - language services",
"main": "./bundles/language-service.umd.js",
"module": "./fesm5/language-service.js",
"typings": "./language-service.d.ts",
"typings": "./index.d.ts",
"author": "angular",
"license": "MIT",
"repository": {