Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Conversation

@christianliebel
Copy link

Currently, libraries created using the schematic only use the es2015 TypeScript lib. ECMAScript 2016, 2017 and 2018 have already been released. Interfaces introduced in these releases are unavailable in TypeScript without manually editing the tsconfig.json. This PR updates the lib property in tsconfig.json for Angular libraries to include at least es2017. This is an intermediate solution, until #869 can be merged, which bumps the lib to es2018.

Update the lib property in tsconfig.json for Angular libraries to include es2017.
Copy link
Contributor

@filipesilva filipesilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@alexeagle
Copy link
Contributor

Sorry @christianliebel , this got lost when we moved the code back over to the angular/angular-cli repo. Do you have time to re-base this commit on master over there?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants