Skip to content

Commit

Permalink
feat: TypeScript 5.7.2 (#1594)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Dec 21, 2024
1 parent 061a3fe commit e4fffa4
Show file tree
Hide file tree
Showing 8 changed files with 293 additions and 213 deletions.
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

0 comments on commit e4fffa4

Please sign in to comment.