-
Notifications
You must be signed in to change notification settings - Fork 0
/
md.xml
28 lines (28 loc) · 1.03 KB
/
md.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<types>
<type name="Type" desc="A type which can be linked.">
</type>
<type name="Example" desc="An example type which can link to other types.">
<prop opt type="?Type" name="type">
The type itself, possibly nullable.
</prop>
<prop opt type="!(Type|string)" name="union">
The union of types.
</prop>
<prop opt type="{ t: Type, r }" name="record">
The record with a type.
</prop>
<prop opt type="Object<string, Type>" name="application">
The application with a type.
</prop>
<prop opt type="function(this: Type, string, !Type): Type" name="function">
The function with arguments and return type.
</prop>
<prop opt type="function(...Type)" name="variable-args">
Functions with `...` for variable argument types.
</prop>
<fn name="vscode-function" opt return="Type">
<arg type="Type" name="type">The type.</arg>
Linking in the _VSCode_ (_TypeScript_) functions is also supported when properties are written as functions.
</fn>
</type>
</types>