mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
|
||
|---|---|---|
| .. | ||
| bundles | ||
| src | ||
| test | ||
| BUILD.bazel | ||
| index.ts | ||
| language-service.ts | ||
| package.json | ||