Skip to content

Commit a958b78

Browse files
committed
chore: update external types
1 parent cbb42db commit a958b78

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"strip-indent": "^3.0.0"
5656
},
5757
"devDependencies": {
58-
"@types/babel__traverse": "7.17.1",
58+
"@types/babel__traverse": "7.18.0",
5959
"@types/cross-spawn": "6.0.2",
6060
"@types/doctrine": "0.0.5",
6161
"@types/jest": "28.1.6",

src/FileState.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ export default class FileState {
5656
parent: this.ast,
5757
container: this.ast,
5858
key: 'program',
59-
// @ts-expect-error TODO DONE wait for update to types
6059
}).setContext() as NodePath<Program>;
6160
this.scope = this.path.scope;
6261
}

src/utils/resolveToValue.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ export default function resolveToValue(path: NodePath): NodePath {
140140
// block where it is defined (i.e. we are not traversing into statements)
141141
resolvedPath = findLastAssignedValue(binding.scope.path, path);
142142
if (!resolvedPath) {
143-
// @ts-ignore TODO fix in DT
144143
const bindingMap = binding.path.getOuterBindingIdentifierPaths(
145144
true,
146145
) as Record<string, Array<NodePath<Identifier>>>;

yarn.lock

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,13 +672,20 @@
672672
"@babel/parser" "^7.1.0"
673673
"@babel/types" "^7.0.0"
674674

675-
"@types/babel__traverse@*", "@types/babel__traverse@7.17.1", "@types/babel__traverse@^7.0.6":
675+
"@types/babel__traverse@*", "@types/babel__traverse@^7.0.6":
676676
version "7.17.1"
677677
resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.17.1.tgz#1a0e73e8c28c7e832656db372b779bfd2ef37314"
678678
integrity sha512-kVzjari1s2YVi77D3w1yuvohV2idweYXMCDzqBiVNN63TcDWrIlTVOYpqVrvbbyOE/IyzBoTKF0fdnLPEORFxA==
679679
dependencies:
680680
"@babel/types" "^7.3.0"
681681

682+
"@types/babel__traverse@7.18.0":
683+
version "7.18.0"
684+
resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.18.0.tgz#8134fd78cb39567465be65b9fdc16d378095f41f"
685+
integrity sha512-v4Vwdko+pgymgS+A2UIaJru93zQd85vIGWObM5ekZNdXCKtDYqATlEYnWgfo86Q6I1Lh0oXnksDnMU1cwmlPDw==
686+
dependencies:
687+
"@babel/types" "^7.3.0"
688+
682689
"@types/cross-spawn@6.0.2":
683690
version "6.0.2"
684691
resolved "https://registry.yarnpkg.com/@types/cross-spawn/-/cross-spawn-6.0.2.tgz#168309de311cd30a2b8ae720de6475c2fbf33ac7"

0 commit comments

Comments
 (0)