Skip to content

Conversation

@sis0k0
Copy link
Contributor

@sis0k0 sis0k0 commented Jul 11, 2019

What is the current behavior?

The utils.ts module requires typescript. This causes all schematics requiring the utils.ts to also try to load typescript even if it's not needed. The typescript module is available when executing schematics in an Angular project because all Angular projects depend on typecsript. However, trying to load typescript when executing ng new will fail unless typescript is globally installed.

What is the new behavior?

The TypeScript helper functions are moved to a separate ts-utils.ts file.

Fixes #216.

@cla-bot cla-bot bot added the cla: yes label Jul 11, 2019
@sis0k0 sis0k0 changed the title ## PR Checklist fix: move all typescript helpers to a separate file - ts-utils Jul 11, 2019
@sebawita sebawita merged commit 6cb54d3 into master Jul 12, 2019
@sis0k0 sis0k0 deleted the sis0k0/ts-helpers branch July 12, 2019 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants