Skip to content

feat(@angular/cli): support TypeScript 2.4 - #6891

Closed
filipesilva wants to merge 1 commit into
angular:masterfrom
filipesilva:ts-2.4
Closed

feat(@angular/cli): support TypeScript 2.4#6891
filipesilva wants to merge 1 commit into
angular:masterfrom
filipesilva:ts-2.4

Conversation

@filipesilva

@filipesilva filipesilva commented Jul 5, 2017

Copy link
Copy Markdown
Contributor

Fix #6827

@filipesilva

Copy link
Copy Markdown
Contributor Author

This PR is up mostly to experiment. It's not meant to go in until Angular itself officially support TS 2.4.

@hansl hansl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

1 nit.

} else {
createDirectory = mkdir(directoryName)
.catch(err => {
createDirectory = (mkdir as any)(directoryName)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

mkdir should be the right type, or the type of denodeify itself is wrong.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It seems that something is wrong with either @types/node or @types/denodeify. I Updated the versions but the error was still there. Added note to explain why it is being typed as any and a TODO for me to fix.

@fxck

fxck commented Jul 17, 2017

Copy link
Copy Markdown

Any idea when will angular update to 2.4.x?

@filipesilva
filipesilva force-pushed the ts-2.4 branch 2 times, most recently from 5daf646 to 37505c1 Compare July 20, 2017 13:27
@filipesilva

Copy link
Copy Markdown
Contributor Author

New pr: #7065

@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

typescript 2.4 support

4 participants