nvim-treesitter/tests/query/highlights/hack/async-functions.hack

9 lines
229 B
Text
Raw Permalink Normal View History

async function func0(): void {}
2023-12-24 12:52:21 +01:00
// ^ @type.builtin
async function func1<T1 as int>() {}
2023-12-24 12:52:21 +01:00
// ^ @type.builtin
// ^ @keyword.operator
async ($x) ==> $x + 1;