Skip to content

Commit

Permalink
Update dependency typescript to v4.8.2 (prettier#13381)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
  • Loading branch information
2 people authored and medikoo committed Feb 1, 2024
1 parent b7b6616 commit bfef81d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/language-js/parse/postprocess/typescript.js
Expand Up @@ -104,6 +104,7 @@ function throwErrorForInvalidNodes(result, options) {
if (!tsNode) {
return;
}

const esTreeNode = tsNodeToESTreeNodeMap.get(tsNode);
if (esTreeNode !== node) {
return;
Expand Down
5 changes: 1 addition & 4 deletions tests/config/format-test.js
Expand Up @@ -84,10 +84,7 @@ const meriyahDisabledTests = new Set([
path.join(__dirname, "../format/js/decorators/member-expression.js"),
]);
const babelTsDisabledTest = new Set(
[
// Disabled temporarily https://github.com/babel/babel/issues/14777#issuecomment-1191474632
"instantiation-expression",
].map((directory) => path.join(__dirname, "../format/typescript", directory))
[].map((directory) => path.join(__dirname, "../format/typescript", directory))
);

const isUnstable = (filename, options) => {
Expand Down

0 comments on commit bfef81d

Please sign in to comment.