-
Notifications
You must be signed in to change notification settings - Fork 12k
feat(@angular/cli): support TypeScript 2.4 #6891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR is up mostly to experiment. It's not meant to go in until Angular itself officially support TS 2.4. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 nit.
@@ -176,8 +176,8 @@ const NewCommand = Command.extend({ | |||
} | |||
}); | |||
} else { | |||
createDirectory = mkdir(directoryName) | |||
.catch(err => { | |||
createDirectory = (mkdir as any)(directoryName) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Any idea when will angular update to 2.4.x? |
5daf646
to
37505c1
Compare
New pr: #7065 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fix #6827