Closed Wilfred closed 5 months ago
this is becoming a bit snowflakey, but not hard to fix...I guess
Seemingly related:
interface Event {
name: string
remark?: string
time: import("@js-temporal/polyfill").Temporal.PlainDateTime
icon: string
}
“icon: string
” is not highlighted correctly.
Hey @Wilfred I've fixed this now, hopefully difftastic will benefit from the latest update!
Works nicely, thanks @amaanq! :)
np :)
The following piece of code is valid but it is parsed incorrectly:
Here's a link to the TypeScript Playground showing that the snippet above is valid JavaScript or TypeScript: https://www.typescriptlang.org/play?#code/C4TwDgpgBAogHmAThAziglgewHYDkCGAthIgGLZQC8UAFAFBRQQKIBcU6hYmiwNA5MySoMOFPwCUAOnhIANHQlUAfFBTBE6bAHMA3EA
The output of
tree-sitter parse
is the following: