Commit a8ae855 1 parent 9a318a2 commit a8ae855 Copy full SHA for a8ae855
File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { AST } from "./serialize" ;
2
2
import { llmap , llreverse , ll_to_array } from "./llhelpers" ;
3
- import { Loc , STX } from "./syntax-structures" ;
4
- import { go_up , reconvert , stx_list_content } from "./zipper" ;
3
+ import { Loc } from "./syntax-structures" ;
5
4
import { list_tag } from "./AST" ;
6
5
import * as prettier from "prettier/standalone" ;
7
6
import * as prettier_ts from "prettier/plugins/typescript" ;
8
7
import * as prettier_estree from "prettier/plugins/estree" ;
9
- import node from "tree-sitter-typescript/bindings/node" ;
10
8
11
9
type ns = string | ns [ ] ;
12
10
@@ -35,7 +33,7 @@ function loc_to_ns(loc: Loc): ns {
35
33
case "shorthand_property_identifier" :
36
34
case "type_identifier" :
37
35
case "jsx_text" :
38
- case "string_fragment " :
36
+ case "string " :
39
37
case "regex_pattern" :
40
38
case "other" :
41
39
return stx . content ;
You can’t perform that action at this time.
0 commit comments