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.
Right now we use eg.
string.startsWithin 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.