Skip to content

Commit 118067e

Browse files
committed
fix build error
1 parent 591227c commit 118067e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typescript/src/codeActions/toggleBraces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Statement } from 'typescript/lib/tsserverlibrary'
22
import { findChildContainingPosition, findClosestParent, getIndentFromPos } from '../utils'
33
import { ApplyCodeAction, CodeAction } from './getCodeActions'
44

5-
const tryToApply: ApplyCodeAction = (ts, sourceFile, pos, range) => {
5+
const tryToApply: ApplyCodeAction = (sourceFile, pos, range) => {
66
const currentNode = findChildContainingPosition(ts, sourceFile, pos)
77
if (!currentNode) return
88
const closestBlock = findClosestParent(

0 commit comments

Comments
 (0)