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 db747d2 commit 4d098daCopy full SHA for 4d098da
src/commands/to-destructuring.ts
@@ -2,7 +2,7 @@ import type { Command } from '../types'
2
3
export const toDestructuring: Command = {
4
name: 'to-destructuring',
5
- match: /^\s*[\/:@]\s*(?:to-|2)?(?:destructuring|dest)?$/i,
+ match: /^\s*[\/:@]\s*(?:to-|2)(?:destructuring|dest)$/i,
6
action(ctx) {
7
const node = ctx.findNodeBelow(
8
'VariableDeclaration',
0 commit comments