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 b947cf4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 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
13 changes: 0 additions & 13 deletions tests/cases/fourslash/server/formatOnOpenCurlyBraceIndentation.ts

This file was deleted.

0 comments on commit b947cf4

Please sign in to comment.