Skip to content

don't allow arbitrary ES6 APIs usage #5242

@alexeagle

Description

@alexeagle

Right now we use eg. string.startsWith in our code. This requires that users include an ES6 polyfill library like es6-shim when running Angular.
We should avoid adding more of these. We can hand-write a typings file describing the APIs we use already, but not type-check against all of es6-shim.d.ts, which gives us too broad a surface to target at runtime.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions