Skip to content

Commit d395c26

Browse files
committed
changeset+knip fix
1 parent 5ea4817 commit d395c26

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.changeset/common-bottles-move.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/devtools-vite': minor
3+
---
4+
5+
migrate from Babel to oxc-parser + MagicString

packages/devtools-vite/src/ast-utils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import type { Node } from 'oxc-parser'
22

3-
export function isNode(value: unknown): value is Node {
4-
return typeof value === 'object' && value !== null && 'type' in value
5-
}
6-
73
/**
84
* Cache of keys that hold child nodes (objects/arrays) per AST node type.
95
* Since oxc-parser produces AST via JSON.parse, every instance of a given

0 commit comments

Comments
 (0)