Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
function add(a: number): number {
//       ^ @function
//           ^ @variable.parameter
//              ^ @type.builtin
  return a + 1;
}
const el = <Foo bar={add(2)}>hi</Foo>;
//          ^ @constructor
//              ^ @attribute
//                   ^ @function
//                               ^ @constructor