Skip to content
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

feat: TypeScript 5.7.2 #1594

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"rollup": "=4.18.0",
"ts-node": "^10.9.2",
"tslib": "^2.6.3",
"typescript": "~5.6.2"
"typescript": "~5.7.2"
},
"publishConfig": {
"access": "public"
Expand Down
104 changes: 82 additions & 22 deletions packages/common/lib/typescript.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"rollup": "=4.18.0",
"ts-node": "^10.9.2",
"tslib": "^2.6.3",
"typescript": "5.6.2"
"typescript": "5.7.2"
},
"publishConfig": {
"access": "public"
Expand Down
363 changes: 189 additions & 174 deletions packages/common/src/data/libFiles.ts

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion packages/ts-morph/lib/ts-morph.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -888,13 +888,14 @@ export type ArrayBindingElement = BindingElement | OmittedExpression;
export type BindingName = Identifier | BindingPattern;
export type BindingPattern = ObjectBindingPattern | ArrayBindingPattern;
export type BooleanLiteral = TrueLiteral | FalseLiteral;
export type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxOpeningLikeElement | InstanceofExpression;
export type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxCallLike | InstanceofExpression;
export type EntityNameExpression = Identifier | PropertyAccessExpression;
export type DeclarationName = PropertyName | JsxAttributeName | StringLiteralLike | ElementAccessExpression | BindingPattern | EntityNameExpression;
export type EntityName = Identifier | QualifiedName;
export type JsxChild = JsxText | JsxExpression | JsxElement | JsxSelfClosingElement | JsxFragment;
export type JsxAttributeName = Identifier | JsxNamespacedName;
export type JsxAttributeLike = JsxAttribute | JsxSpreadAttribute;
export type JsxCallLike = JsxOpeningLikeElement | JsxOpeningFragment;
export type JsxOpeningLikeElement = JsxSelfClosingElement | JsxOpeningElement;
export type JsxTagNameExpression = Identifier | ThisExpression | JsxTagNamePropertyAccess | JsxNamespacedName;

Expand Down
2 changes: 1 addition & 1 deletion packages/ts-morph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"rimraf": "^5.0.7",
"rollup": "=4.18.0",
"ts-node": "10.9.2",
"typescript": "~5.6.2"
"typescript": "~5.7.2"
},
"standard-version": {
"tagPrefix": "",
Expand Down
6 changes: 5 additions & 1 deletion packages/ts-morph/src/compiler/ast/aliases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import {
JsxFragment,
JsxNamespacedName,
JsxOpeningElement,
JsxOpeningFragment,
JsxSelfClosingElement,
JsxSpreadAttribute,
JsxText,
Expand Down Expand Up @@ -88,7 +89,7 @@ type _BindingPatternTest = AssertTrue<IsExact<WrappedToCompilerNodeType<BindingP
export type BooleanLiteral = TrueLiteral | FalseLiteral;
type _BooleanLiteralTest = AssertTrue<IsExact<WrappedToCompilerNodeType<BooleanLiteral>, ts.BooleanLiteral>>;

export type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxOpeningLikeElement | InstanceofExpression;
export type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxCallLike | InstanceofExpression;
type _CallLikeExpressionTest = AssertTrue<IsExact<WrappedToCompilerNodeType<CallLikeExpression>, ts.CallLikeExpression>>;

export type EntityNameExpression = Identifier | PropertyAccessExpression;
Expand Down Expand Up @@ -117,6 +118,9 @@ type _JsxAttributeNameTest = AssertTrue<IsExact<WrappedToCompilerNodeType<JsxAtt
export type JsxAttributeLike = JsxAttribute | JsxSpreadAttribute;
type _JsxAttributeLikeTest = AssertTrue<IsExact<WrappedToCompilerNodeType<JsxAttributeLike>, ts.JsxAttributeLike>>;

export type JsxCallLike = JsxOpeningLikeElement | JsxOpeningFragment;
type _JsxCallLikeTest = AssertTrue<IsExact<WrappedToCompilerNodeType<JsxCallLike>, ts.JsxCallLike>>;

export type JsxOpeningLikeElement = JsxSelfClosingElement | JsxOpeningElement;
type _JsxOpeningLikeElementTest = AssertTrue<IsExact<WrappedToCompilerNodeType<JsxOpeningLikeElement>, ts.JsxOpeningLikeElement>>;

Expand Down
Loading