nvim-treesitter/tests/query/highlights/hack/async-functions.hack
2024-01-19 16:58:37 +01:00

8 lines
229 B
Text

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