feat: add support for TypeScript 4.0 #38076
Closed
Conversation
1553efd
to
93e995b
petebacondarwin
reviewed
Jul 16, 2020
fb8fae4
to
7fc77a3
8909a59
to
23470e3
jelbourn
approved these changes
Aug 24, 2020
LGTM
Reviewed-for: public-api
AndrewKushnir
approved these changes
Aug 24, 2020
Reviewed-for: public-api
mhevery
added a commit
that referenced
this issue
Aug 24, 2020
With Typescript 4, `ts.updateIdentifier` is no longer available.
Calling `ts.updateIdentifier` used to return the same node when
`typeArguments` was `undefined` because `node.typeArguments`
was also `undefined`.
Relevant TS code:
```js
function updateIdentifier(node, typeArguments) {
return node.typeArguments !== typeArguments
? updateNode(createIdentifier(ts.idText(node), typeArguments), node)
: node;
}
```
PR Close #38076
mhevery
added a commit
that referenced
this issue
Aug 24, 2020
This version supports TypeScript 4.0 PR Close #38076
subratpalhar92
added a commit
to SUBRATPALHAR-ALL-JAVASCRIPT/angular
that referenced
this issue
Aug 29, 2020
With this change we add support for TypeScript 4.0 PR Close angular#38076
subratpalhar92
added a commit
to SUBRATPALHAR-ALL-JAVASCRIPT/angular
that referenced
this issue
Aug 29, 2020
…r#38076) With Typescript 4, `ts.updateIdentifier` is no longer available. Calling `ts.updateIdentifier` used to return the same node when `typeArguments` was `undefined` because `node.typeArguments` was also `undefined`. Relevant TS code: ```js function updateIdentifier(node, typeArguments) { return node.typeArguments !== typeArguments ? updateNode(createIdentifier(ts.idText(node), typeArguments), node) : node; } ``` PR Close angular#38076
subratpalhar92
added a commit
to SUBRATPALHAR-ALL-JAVASCRIPT/angular
that referenced
this issue
Aug 29, 2020
This version supports TypeScript 4.0 PR Close angular#38076
subratpalhar92
added a commit
to SUBRATPALHAR-ALL-JAVASCRIPT/angular
that referenced
this issue
Aug 31, 2020
This reverts commit 1ba69ee.
subratpalhar92
added a commit
to SUBRATPALHAR-ALL-JAVASCRIPT/angular
that referenced
this issue
Aug 31, 2020
…angular#38076)" This reverts commit 2503e1a.
subratpalhar92
added a commit
to SUBRATPALHAR-ALL-JAVASCRIPT/angular
that referenced
this issue
Aug 31, 2020
subratpalhar92
added a commit
to SUBRATPALHAR-ALL-JAVASCRIPT/angular
that referenced
this issue
Aug 31, 2020
With this change we add support for TypeScript 4.0 PR Close angular#38076
subratpalhar92
added a commit
to SUBRATPALHAR-ALL-JAVASCRIPT/angular
that referenced
this issue
Aug 31, 2020
…r#38076) With Typescript 4, `ts.updateIdentifier` is no longer available. Calling `ts.updateIdentifier` used to return the same node when `typeArguments` was `undefined` because `node.typeArguments` was also `undefined`. Relevant TS code: ```js function updateIdentifier(node, typeArguments) { return node.typeArguments !== typeArguments ? updateNode(createIdentifier(ts.idText(node), typeArguments), node) : node; } ``` PR Close angular#38076
subratpalhar92
added a commit
to SUBRATPALHAR-ALL-JAVASCRIPT/angular
that referenced
this issue
Aug 31, 2020
This version supports TypeScript 4.0 PR Close angular#38076
profanis
added a commit
to profanis/angular
that referenced
this issue
Sep 5, 2020
With this change we add support for TypeScript 4.0 PR Close angular#38076
profanis
added a commit
to profanis/angular
that referenced
this issue
Sep 5, 2020
…r#38076) With Typescript 4, `ts.updateIdentifier` is no longer available. Calling `ts.updateIdentifier` used to return the same node when `typeArguments` was `undefined` because `node.typeArguments` was also `undefined`. Relevant TS code: ```js function updateIdentifier(node, typeArguments) { return node.typeArguments !== typeArguments ? updateNode(createIdentifier(ts.idText(node), typeArguments), node) : node; } ``` PR Close angular#38076
profanis
added a commit
to profanis/angular
that referenced
this issue
Sep 5, 2020
This version supports TypeScript 4.0 PR Close angular#38076
|
It seems 0fc44e0 added ERROR in src/app/some/some.component.ts:26:81 - error TS2729: Property 'some_id' is used before its initialization.
26 public data: any = {some_id: this?.some_id, date: new Date()};
~~~~~~~~~~~~~~~
src/app/some/some.component.ts:22:12
22 @Input() some_id
~~~~~~~~~~~~~~~
'some_id' is declared here.As it is evident, the variable is defined before its being used. |
2 tasks
|
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.



No description provided.
The text was updated successfully, but these errors were encountered: