Add missing queries for TypeScript interface and enum

This commit is contained in:
Andrés Quilodrán 2024-05-19 00:42:33 -04:00
parent df28ee219c
commit eb3e304523
No known key found for this signature in database
GPG key ID: D46C23CC5AC53A58
2 changed files with 12 additions and 0 deletions

View file

@ -1,5 +1,13 @@
; inherits: javascript
(interface_body
"{" @delimiter
"}" @delimiter @sentinel) @container
(enum_body
"{" @delimiter
"}" @delimiter @sentinel) @container
(type_arguments
"<" @delimiter
">" @delimiter @sentinel) @container

View file

@ -39,6 +39,10 @@ interface Request {
body: RequestProp['body'];
}
enum A {
Foo = "Bar",
}
// Template strings
const who = 'world';
console.log(`Hello, ${who}`);