Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbranch committed Mar 28, 2022
1 parent 9163143 commit 79b600a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/services/utilities.ts
Expand Up @@ -1259,7 +1259,7 @@ namespace ts {
export function findPrecedingToken(position: number, sourceFile: SourceFileLike, startNode: Node, excludeJsdoc?: boolean): Node | undefined;
export function findPrecedingToken(position: number, sourceFile: SourceFile, startNode?: Node, excludeJsdoc?: boolean): Node | undefined;
export function findPrecedingToken(position: number, sourceFile: SourceFileLike, startNode?: Node, excludeJsdoc?: boolean): Node | undefined {
const result = find(startNode! || sourceFile);
const result = find((startNode || sourceFile) as Node);
Debug.assert(!(result && isWhiteSpaceOnlyJsxText(result)));
return result;

Expand Down
Expand Up @@ -6,7 +6,6 @@

goTo.marker("");
format.onType("", "{");
// format.document();
verify.currentFileContentIs(
`if (foo) {
if (bar) { }
Expand Down

0 comments on commit 79b600a

Please sign in to comment.