es5 bundles export some strange mangled (internal?) symbols, that are picked up by IDE autocomplete #16583
Labels
area: packaging
Issues related to Angular's creation of npm packages
freq3: high
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
state: confirmed
type: bug/fix
Milestone
I'm submitting a ... (check one with "x")
Current behavior
The es5 bundles export some strange mangled (internal?) symbols. VS Code picks up typings from *.es5.js I guess, and you get this in intellisense:
If you
import { ɵa } from '@angular/router'
it compiles.Expected behavior
Looks like these are internal symbols, so either the bundle shouldn't expose them, or the editor should be forced to use
.d.ts
files.Minimal reproduction of the problem with instructions
ng new app
import { ɵa } from '@angular/router'
Please tell us about your environment:
Windows 10
Browser: all
Language: [ES5 / TS 2.3]
The text was updated successfully, but these errors were encountered: