We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 591227c commit 118067eCopy full SHA for 118067e
1 file changed
typescript/src/codeActions/toggleBraces.ts
@@ -2,7 +2,7 @@ import { Statement } from 'typescript/lib/tsserverlibrary'
2
import { findChildContainingPosition, findClosestParent, getIndentFromPos } from '../utils'
3
import { ApplyCodeAction, CodeAction } from './getCodeActions'
4
5
-const tryToApply: ApplyCodeAction = (ts, sourceFile, pos, range) => {
+const tryToApply: ApplyCodeAction = (sourceFile, pos, range) => {
6
const currentNode = findChildContainingPosition(ts, sourceFile, pos)
7
if (!currentNode) return
8
const closestBlock = findClosestParent(
0 commit comments