nvim-treesitter/tests/query/highlights/hack/async-functions.hack
2022-01-17 10:53:35 +01:00

8 lines
226 B
Text

async function func0(): void {}
// ^ type.builtin
async function func1<T1 as int>() {}
// ^ type.builtin
// ^ keyword.operator
async ($x) ==> $x + 1;