409 lines
10 KiB
JSON
409 lines
10 KiB
JSON
{
|
|
"id": 0,
|
|
"name": "typedoc",
|
|
"kind": 0,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 1,
|
|
"name": "\"destructuring\"",
|
|
"kind": 1,
|
|
"kindString": "External module",
|
|
"flags": {
|
|
"isExported": true
|
|
},
|
|
"originalName": "%BASE%/destructuring/destructuring.ts",
|
|
"children": [
|
|
{
|
|
"id": 5,
|
|
"name": "destructArrayA",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 10,
|
|
"character": 19
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "instrinct",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 6,
|
|
"name": "destructArrayB",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 10,
|
|
"character": 35
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "instrinct",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 7,
|
|
"name": "destructArrayC",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 10,
|
|
"character": 51
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "instrinct",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "10"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"name": "destructArrayWithIgnoresA",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 20,
|
|
"character": 30
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "instrinct",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "destructArrayWithIgnoresRest",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 20,
|
|
"character": 65
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Array",
|
|
"typeArguments": [
|
|
{
|
|
"type": "instrinct",
|
|
"name": "number"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 10,
|
|
"name": "destructArrayWithRest",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 15,
|
|
"character": 77
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Array",
|
|
"typeArguments": [
|
|
{
|
|
"type": "instrinct",
|
|
"name": "number"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 8,
|
|
"name": "destructArrayWithRestA",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 15,
|
|
"character": 27
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "instrinct",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 9,
|
|
"name": "destructArrayWithRestB",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 15,
|
|
"character": 51
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "instrinct",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "destructObjectA",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 4,
|
|
"character": 20
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "instrinct",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "destructObjectB",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 4,
|
|
"character": 37
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "instrinct",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "destructObjectC",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 4,
|
|
"character": 54
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "instrinct",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 13,
|
|
"name": "drawText",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"signatures": [
|
|
{
|
|
"id": 14,
|
|
"name": "drawText",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"shortText": "Destructuring function parameters."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 15,
|
|
"name": "__namedParameters",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"originalName": "__0",
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 16,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 19,
|
|
"name": "bold",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 25,
|
|
"character": 60
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "instrinct",
|
|
"name": "boolean"
|
|
},
|
|
"defaultValue": "false"
|
|
},
|
|
{
|
|
"id": 18,
|
|
"name": "location",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 25,
|
|
"character": 45
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "instrinct",
|
|
"name": "number"
|
|
},
|
|
{
|
|
"type": "instrinct",
|
|
"name": "number"
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": " [0, 0]"
|
|
},
|
|
{
|
|
"id": 17,
|
|
"name": "text",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 25,
|
|
"character": 23
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "instrinct",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "\"\""
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
19,
|
|
18,
|
|
17
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 25,
|
|
"character": 18
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "instrinct",
|
|
"name": "void"
|
|
}
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 25,
|
|
"character": 17
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Variables",
|
|
"kind": 32,
|
|
"children": [
|
|
5,
|
|
6,
|
|
7,
|
|
11,
|
|
12,
|
|
10,
|
|
8,
|
|
9,
|
|
2,
|
|
3,
|
|
4
|
|
]
|
|
},
|
|
{
|
|
"title": "Functions",
|
|
"kind": 64,
|
|
"children": [
|
|
13
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "destructuring.ts",
|
|
"line": 1,
|
|
"character": 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "External modules",
|
|
"kind": 1,
|
|
"children": [
|
|
1
|
|
]
|
|
}
|
|
]
|
|
} |