mirror of https://github.com/Wilfred/difftastic/
Treat predefined_type as an atom in TypeScript
Currently it contains a nested string node, even though it's a fixed set of known types. This was preventing us from applying good syntax highlighting. This was particularly noticeable with `string`, which wasn't previously highlighted as a type.pull/454/head 0.41.0
parent
610a6e441d
commit
34967f588d
@ -0,0 +1,5 @@
|
||||
type Symbol = {
|
||||
kind: "symbol";
|
||||
name: string;
|
||||
items: string[];
|
||||
};
|
||||
@ -0,0 +1,4 @@
|
||||
type Symbol = {
|
||||
kind: "symbol";
|
||||
items: string[];
|
||||
};
|
||||
Loading…
Reference in New Issue