Skip to content

Commit

Permalink
test: fix mistype
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Feb 21, 2023
1 parent 7c35092 commit 23a9b9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/getters.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe("getWellKnownSymbolPropertyOfType", () => {
}>
`);

const node = (sourceFile.statements[0] as ts.VariaybleStatement)
const node = (sourceFile.statements[0] as ts.VariableStatement)
.declarationList.declarations[0].name;

const type = typeChecker.getTypeAtLocation(node);
Expand All @@ -34,7 +34,7 @@ describe("getWellKnownSymbolPropertyOfType", () => {
}, 'z'>
`);

const node = (sourceFile.statements[0] as ts.VariaybleStatement)
const node = (sourceFile.statements[0] as ts.VariableStatement)
.declarationList.declarations[0].name;

const type = typeChecker.getTypeAtLocation(node);
Expand Down

0 comments on commit 23a9b9c

Please sign in to comment.