This repository has been archived on 2021-12-11. You can view files and clone it, but cannot push or open issues or pull requests.
magento-ts-client/src/lib/core/docs/api.json
2021-07-18 18:11:37 +02:00

53322 lines
1.1 MiB

{
"id": 0,
"name": "@dojo/core",
"kind": 0,
"flags": {
"__visited__": true
},
"children": [
{
"id": 842,
"name": "\"DateObject\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/DateObject.ts",
"children": [
{
"id": 870,
"name": "DateObject",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 877,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 878,
"name": "new DateObject",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 879,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "reference",
"name": "DateObject",
"id": 870
}
},
{
"id": 880,
"name": "new DateObject",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 881,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "DateObject",
"id": 870
}
},
{
"id": 882,
"name": "new DateObject",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 883,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Date"
}
}
],
"type": {
"type": "reference",
"name": "DateObject",
"id": 870
}
},
{
"id": 884,
"name": "new DateObject",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 885,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "KwArgs",
"id": 843
}
}
],
"type": {
"type": "reference",
"name": "DateObject",
"id": 870
}
},
{
"id": 886,
"name": "new DateObject",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "DateObject",
"id": 870
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 71,
"character": 30
},
{
"fileName": "DateObject.ts",
"line": 73,
"character": 28
},
{
"fileName": "DateObject.ts",
"line": 74,
"character": 28
},
{
"fileName": "DateObject.ts",
"line": 75,
"character": 26
},
{
"fileName": "DateObject.ts",
"line": 76,
"character": 28
},
{
"fileName": "DateObject.ts",
"line": 77,
"character": 15
}
]
},
{
"id": 876,
"name": "utc",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 71,
"character": 13
}
],
"type": {
"type": "reference",
"name": "DateProperties",
"id": 859
}
},
{
"id": 899,
"name": "dayOfMonth",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 900,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"setSignature": [
{
"id": 901,
"name": "__set",
"kind": 1048576,
"kindString": "Set signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 902,
"name": "day",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 211,
"character": 15
},
{
"fileName": "DateObject.ts",
"line": 214,
"character": 15
}
],
"implementationOf": {
"type": "reference",
"name": "DateProperties.dayOfMonth",
"id": 860
}
},
{
"id": 923,
"name": "dayOfWeek",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 924,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 253,
"character": 14
}
],
"implementationOf": {
"type": "reference",
"name": "DateProperties.dayOfWeek",
"id": 861
}
},
{
"id": 889,
"name": "daysInMonth",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 890,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 176,
"character": 16
}
],
"implementationOf": {
"type": "reference",
"name": "DateProperties.daysInMonth",
"id": 862
}
},
{
"id": 903,
"name": "hours",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 904,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"setSignature": [
{
"id": 905,
"name": "__set",
"kind": 1048576,
"kindString": "Set signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 906,
"name": "hours",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 218,
"character": 10
},
{
"fileName": "DateObject.ts",
"line": 221,
"character": 10
}
],
"implementationOf": {
"type": "reference",
"name": "DateProperties.hours",
"id": 863
}
},
{
"id": 887,
"name": "isLeapYear",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 888,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 172,
"character": 15
}
],
"implementationOf": {
"type": "reference",
"name": "DateProperties.isLeapYear",
"id": 864
}
},
{
"id": 915,
"name": "milliseconds",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 916,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"setSignature": [
{
"id": 917,
"name": "__set",
"kind": 1048576,
"kindString": "Set signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 918,
"name": "milliseconds",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 239,
"character": 17
},
{
"fileName": "DateObject.ts",
"line": 242,
"character": 17
}
],
"implementationOf": {
"type": "reference",
"name": "DateProperties.milliseconds",
"id": 865
}
},
{
"id": 907,
"name": "minutes",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 908,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"setSignature": [
{
"id": 909,
"name": "__set",
"kind": 1048576,
"kindString": "Set signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 910,
"name": "minutes",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 225,
"character": 12
},
{
"fileName": "DateObject.ts",
"line": 228,
"character": 12
}
],
"implementationOf": {
"type": "reference",
"name": "DateProperties.minutes",
"id": 866
}
},
{
"id": 895,
"name": "month",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 896,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"setSignature": [
{
"id": 897,
"name": "__set",
"kind": 1048576,
"kindString": "Set signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 898,
"name": "month",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 198,
"character": 10
},
{
"fileName": "DateObject.ts",
"line": 201,
"character": 10
}
],
"implementationOf": {
"type": "reference",
"name": "DateProperties.month",
"id": 867
}
},
{
"id": 911,
"name": "seconds",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 912,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"setSignature": [
{
"id": 913,
"name": "__set",
"kind": 1048576,
"kindString": "Set signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 914,
"name": "seconds",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 232,
"character": 12
},
{
"fileName": "DateObject.ts",
"line": 235,
"character": 12
}
],
"implementationOf": {
"type": "reference",
"name": "DateProperties.seconds",
"id": 868
}
},
{
"id": 919,
"name": "time",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 920,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"setSignature": [
{
"id": 921,
"name": "__set",
"kind": 1048576,
"kindString": "Set signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 922,
"name": "time",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 246,
"character": 9
},
{
"fileName": "DateObject.ts",
"line": 249,
"character": 9
}
]
},
{
"id": 925,
"name": "timezoneOffset",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 926,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 256,
"character": 19
}
]
},
{
"id": 891,
"name": "year",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 892,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"setSignature": [
{
"id": 893,
"name": "__set",
"kind": 1048576,
"kindString": "Set signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 894,
"name": "year",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 185,
"character": 9
},
{
"fileName": "DateObject.ts",
"line": 188,
"character": 9
}
],
"implementationOf": {
"type": "reference",
"name": "DateProperties.year",
"id": 869
}
},
{
"id": 927,
"name": "add",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 928,
"name": "add",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 929,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "reference",
"name": "DateObject",
"id": 870
}
},
{
"id": 930,
"name": "add",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 931,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "OperationKwArgs",
"id": 851
}
}
],
"type": {
"type": "reference",
"name": "DateObject",
"id": 870
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 260,
"character": 4
},
{
"fileName": "DateObject.ts",
"line": 261,
"character": 4
},
{
"fileName": "DateObject.ts",
"line": 262,
"character": 4
}
]
},
{
"id": 932,
"name": "compare",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 933,
"name": "compare",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 934,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "DateObject",
"id": 870
}
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 290,
"character": 8
}
]
},
{
"id": 935,
"name": "compareDate",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 936,
"name": "compareDate",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 937,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "KwArgs",
"id": 843
}
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 301,
"character": 12
}
]
},
{
"id": 938,
"name": "compareTime",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 939,
"name": "compareTime",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 940,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "KwArgs",
"id": 843
}
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 311,
"character": 12
}
]
},
{
"id": 943,
"name": "toDateString",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 944,
"name": "toDateString",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 324,
"character": 13
}
]
},
{
"id": 953,
"name": "toISOString",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 954,
"name": "toISOString",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 339,
"character": 12
}
]
},
{
"id": 955,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 956,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 957,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 342,
"character": 7
}
]
},
{
"id": 949,
"name": "toLocaleDateString",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 950,
"name": "toLocaleDateString",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 333,
"character": 19
}
]
},
{
"id": 947,
"name": "toLocaleString",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 948,
"name": "toLocaleString",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 330,
"character": 15
}
]
},
{
"id": 951,
"name": "toLocaleTimeString",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 952,
"name": "toLocaleTimeString",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 336,
"character": 19
}
]
},
{
"id": 941,
"name": "toString",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 942,
"name": "toString",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 321,
"character": 9
}
]
},
{
"id": 945,
"name": "toTimeString",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 946,
"name": "toTimeString",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 327,
"character": 13
}
]
},
{
"id": 958,
"name": "valueOf",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 959,
"name": "valueOf",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 345,
"character": 8
}
]
},
{
"id": 874,
"name": "now",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 875,
"name": "now",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "DateObject",
"id": 870
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 66,
"character": 11
}
]
},
{
"id": 871,
"name": "parse",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 872,
"name": "parse",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 873,
"name": "str",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "DateObject",
"id": 870
}
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 62,
"character": 13
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
877
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
876
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
899,
923,
889,
903,
887,
915,
907,
895,
911,
919,
925,
891
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
927,
932,
935,
938,
943,
953,
955,
949,
947,
951,
941,
945,
958,
874,
871
]
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 61,
"character": 31
}
],
"implementedTypes": [
{
"type": "reference",
"name": "DateProperties",
"id": 859
}
]
},
{
"id": 859,
"name": "DateProperties",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The properties of a complete date"
},
"children": [
{
"id": 860,
"name": "dayOfMonth",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 27,
"character": 11
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 861,
"name": "dayOfWeek",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 28,
"character": 19
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 862,
"name": "daysInMonth",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 29,
"character": 21
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 863,
"name": "hours",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 30,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 864,
"name": "isLeapYear",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 31,
"character": 20
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 865,
"name": "milliseconds",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 32,
"character": 13
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 866,
"name": "minutes",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 33,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 867,
"name": "month",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 34,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 868,
"name": "seconds",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 35,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 869,
"name": "year",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 36,
"character": 5
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
860,
861,
862,
863,
864,
865,
866,
867,
868,
869
]
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 26,
"character": 31
}
],
"implementedBy": [
{
"type": "reference",
"name": "DateObject",
"id": 870
}
]
},
{
"id": 843,
"name": "KwArgs",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 844,
"name": "dayOfMonth",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 4,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 845,
"name": "hours",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 5,
"character": 6
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 846,
"name": "milliseconds",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 6,
"character": 13
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 847,
"name": "minutes",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 7,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 848,
"name": "month",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 8,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 849,
"name": "seconds",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 9,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 850,
"name": "year",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 10,
"character": 5
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
844,
845,
846,
847,
848,
849,
850
]
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 3,
"character": 23
}
]
},
{
"id": 851,
"name": "OperationKwArgs",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 852,
"name": "days",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 14,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 853,
"name": "hours",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 15,
"character": 6
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 854,
"name": "milliseconds",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 16,
"character": 13
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 855,
"name": "minutes",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 17,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 856,
"name": "months",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 18,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 857,
"name": "seconds",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 19,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 858,
"name": "years",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 20,
"character": 6
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
852,
853,
854,
855,
856,
857,
858
]
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 13,
"character": 32
}
]
},
{
"id": 960,
"name": "days",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 39,
"character": 10
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "number"
}
},
"defaultValue": " [NaN, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]"
},
{
"id": 961,
"name": "isLeapYear",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 41,
"character": 16
}
],
"type": {
"type": "reference",
"name": "isLeapYear"
},
"defaultValue": " (function() {\n\tconst date = new Date();\n\tfunction isLeapYear(year: number): boolean {\n\t\tdate.setFullYear(year, 1, 29);\n\t\treturn date.getDate() === 29;\n\t}\n\treturn isLeapYear;\n})()"
},
{
"id": 963,
"name": "operationHash",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 51,
"character": 19
}
],
"type": {
"type": "reference",
"name": "Hash",
"id": 19,
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
},
"defaultValue": " Object.create(null, {\n\tdays: { value: 'Date' },\n\thours: { value: 'UTCHours' },\n\tmilliseconds: { value: 'UTCMilliseconds' },\n\tminutes: { value: 'UTCMinutes' },\n\tmonths: { value: 'Month' },\n\tseconds: { value: 'UTCSeconds' },\n\tyears: { value: 'FullYear' }\n})"
},
{
"id": 962,
"name": "operationOrder",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "DateObject.ts",
"line": 50,
"character": 20
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
},
"defaultValue": " ['years', 'months', 'days', 'hours', 'minutes', 'seconds', 'milliseconds']"
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
870
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
859,
843,
851
]
},
{
"title": "Variables",
"kind": 32,
"children": [
960,
961,
963,
962
]
}
],
"sources": [
{
"fileName": "DateObject.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 964,
"name": "\"Destroyable\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/Destroyable.ts",
"children": [
{
"id": 965,
"name": "Destroyable",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 966,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "constructor",
"text": "\n"
}
]
},
"signatures": [
{
"id": 967,
"name": "new Destroyable",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "constructor",
"text": "\n"
}
]
},
"type": {
"type": "reference",
"name": "Destroyable",
"id": 965
}
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 23,
"character": 27
}
]
},
{
"id": 971,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 972,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Destrpys all handers registered for the instance",
"returns": "a promise that resolves once all handles have been destroyed\n"
},
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 55,
"character": 8
}
]
},
{
"id": 968,
"name": "own",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 969,
"name": "own",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Register handles for the instance that will be destroyed when `this.destroy` is called",
"returns": "a handle for the handle, removes the handle for the instance and calls destroy\n"
},
"parameters": [
{
"id": 970,
"name": "handles",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Handle",
"id": 16
},
{
"type": "array",
"elementType": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 38,
"character": 4
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
966
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
971,
968
]
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 19,
"character": 24
}
],
"extendedBy": [
{
"type": "reference",
"name": "Evented",
"id": 982
}
]
},
{
"id": 975,
"name": "destroyed",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 976,
"name": "destroyed",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "No op function used to replace own, once instance has been destoryed"
},
"type": {
"type": "intrinsic",
"name": "never"
}
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 15,
"character": 18
}
]
},
{
"id": 973,
"name": "noop",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 974,
"name": "noop",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "No operation function to replace own once instance is destoryed"
},
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "boolean"
}
]
}
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 8,
"character": 13
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
965
]
},
{
"title": "Functions",
"kind": 64,
"children": [
975,
973
]
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 977,
"name": "\"Evented\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/Evented.ts",
"children": [
{
"id": 982,
"name": "Evented",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Event Class"
},
"typeParameter": [
{
"id": 983,
"name": "M",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
},
{
"id": 984,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 985,
"name": "O",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"children": [
{
"id": 1002,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "constructor",
"text": "\n"
}
]
},
"signatures": [
{
"id": 1003,
"name": "new Evented",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "constructor",
"text": "\n"
}
]
},
"type": {
"type": "reference",
"name": "Evented",
"id": 982
},
"inheritedFrom": {
"type": "reference",
"name": "Destroyable.__constructor",
"id": 966
}
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 23,
"character": 27
}
],
"inheritedFrom": {
"type": "reference",
"name": "Destroyable.__constructor",
"id": 966
}
},
{
"id": 986,
"name": "__typeMap__",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "Evented.ts",
"line": 64,
"character": 22
}
],
"type": {
"type": "reference",
"name": "M",
"id": 983
}
},
{
"id": 987,
"name": "listenersMap",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"comment": {
"shortText": "map of listeners keyed by event type"
},
"sources": [
{
"fileName": "Evented.ts",
"line": 68,
"character": 23
}
],
"type": {
"type": "reference",
"name": "Map",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
}
}
]
},
{
"type": "array",
"elementType": {
"type": "reference",
"name": "EventedCallback",
"id": 1014,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
}
]
},
"defaultValue": " new Map()"
},
{
"id": 1007,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1008,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Destrpys all handers registered for the instance",
"returns": "a promise that resolves once all handles have been destroyed\n"
},
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Destroyable.destroy",
"id": 971
}
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 55,
"character": 8
}
],
"inheritedFrom": {
"type": "reference",
"name": "Destroyable.destroy",
"id": 971
}
},
{
"id": 988,
"name": "emit",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 989,
"name": "emit",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Emits the event object for the specified type"
},
"typeParameter": [
{
"id": 990,
"name": "K",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
}
}
}
],
"parameters": [
{
"id": 991,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "the event to emit\n"
},
"type": {
"type": "unknown",
"name": "M[K]"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
},
{
"id": 992,
"name": "emit",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 993,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "Evented.ts",
"line": 75,
"character": 5
},
{
"fileName": "Evented.ts",
"line": 76,
"character": 5
},
{
"fileName": "Evented.ts",
"line": 77,
"character": 5
}
]
},
{
"id": 994,
"name": "on",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 995,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Catch all handler for various call signatures. The signatures are defined in\n`BaseEventedEvents`. You can add your own event type -> handler types by extending\n`BaseEventedEvents`. See example for details.",
"returns": "\n",
"tags": [
{
"tag": "example",
"text": "\n\ninterface WidgetBaseEvents extends BaseEventedEvents {\n (type: 'properties:changed', handler: PropertiesChangedHandler): Handle;\n}\nclass WidgetBase extends Evented {\n on: WidgetBaseEvents;\n}\n"
}
]
},
"typeParameter": [
{
"id": 996,
"name": "K",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
}
}
}
],
"parameters": [
{
"id": 997,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "K",
"constraint": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
}
}
}
},
{
"id": 998,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventedCallbackOrArray",
"id": 1020,
"typeArguments": [
{
"type": "typeParameter",
"name": "K",
"constraint": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
}
}
},
{
"type": "unknown",
"name": "M[K]"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
},
{
"id": 999,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1000,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 1001,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventedCallbackOrArray",
"id": 1020,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "Evented.ts",
"line": 105,
"character": 3
},
{
"fileName": "Evented.ts",
"line": 106,
"character": 3
},
{
"fileName": "Evented.ts",
"line": 107,
"character": 3
}
]
},
{
"id": 1004,
"name": "own",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1005,
"name": "own",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Register handles for the instance that will be destroyed when `this.destroy` is called",
"returns": "a handle for the handle, removes the handle for the instance and calls destroy\n"
},
"parameters": [
{
"id": 1006,
"name": "handles",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Handle",
"id": 16
},
{
"type": "array",
"elementType": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
},
"inheritedFrom": {
"type": "reference",
"name": "Destroyable.own",
"id": 968
}
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 38,
"character": 4
}
],
"inheritedFrom": {
"type": "reference",
"name": "Destroyable.own",
"id": 968
}
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1002
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
986,
987
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1007,
988,
994,
1004
]
}
],
"sources": [
{
"fileName": "Evented.ts",
"line": 56,
"character": 20
}
],
"extendedTypes": [
{
"type": "reference",
"name": "Destroyable",
"id": 965
}
],
"extendedBy": [
{
"type": "reference",
"name": "QueuingEvented",
"id": 2365
}
]
},
{
"id": 978,
"name": "CustomEventTypes",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 979,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
}
],
"indexSignature": [
{
"id": 980,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 981,
"name": "index",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
}
}
],
"sources": [
{
"fileName": "Evented.ts",
"line": 40,
"character": 33
}
]
},
{
"id": 1014,
"name": "EventedCallback",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 1015,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1016,
"name": "E",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "Evented.ts",
"line": 30,
"character": 27
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1017,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1018,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A callback that takes an `event` argument"
},
"parameters": [
{
"id": 1019,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The event object\n"
},
"type": {
"type": "typeParameter",
"name": "E",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "boolean"
},
{
"type": "intrinsic",
"name": "void"
}
]
}
}
],
"sources": [
{
"fileName": "Evented.ts",
"line": 30,
"character": 87
}
]
}
}
},
{
"id": 1020,
"name": "EventedCallbackOrArray",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A type which is either a targeted event listener or an array of listeners",
"tags": [
{
"tag": "template",
"text": "T The type of target for the events"
},
{
"tag": "template",
"text": "E The event type for the events\n"
}
]
},
"typeParameter": [
{
"id": 1021,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1022,
"name": "E",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "Evented.ts",
"line": 49,
"character": 34
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "EventedCallback",
"id": 1014,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "E",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
},
{
"type": "array",
"elementType": {
"type": "reference",
"name": "EventedCallback",
"id": 1014,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "E",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
}
]
}
},
{
"id": 1009,
"name": "regexMap",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"comment": {
"shortText": "Map of computed regular expressions, keyed by string"
},
"sources": [
{
"fileName": "Evented.ts",
"line": 8,
"character": 14
}
],
"type": {
"type": "reference",
"name": "Map",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"name": "RegExp"
}
]
},
"defaultValue": " new Map<string, RegExp>()"
},
{
"id": 1010,
"name": "isGlobMatch",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1011,
"name": "isGlobMatch",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Determines is the event type glob has been matched",
"returns": "boolean that indicates if the glob is matched\n"
},
"parameters": [
{
"id": 1012,
"name": "globString",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
}
},
{
"id": 1013,
"name": "targetString",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "Evented.ts",
"line": 15,
"character": 27
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
982
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
978
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
1014,
1020
]
},
{
"title": "Variables",
"kind": 32,
"children": [
1009
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1010
]
}
],
"sources": [
{
"fileName": "Evented.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1130,
"name": "\"IdentityRegistry\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/IdentityRegistry.ts",
"children": [
{
"id": 1139,
"name": "IdentityRegistry",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A registry of values, mapped by identities."
},
"typeParameter": [
{
"id": 1140,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"children": [
{
"id": 1141,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1142,
"name": "new IdentityRegistry",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IdentityRegistry",
"id": 1139
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 34,
"character": 92
}
]
},
{
"id": 1168,
"name": "__@iterator",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1169,
"name": "__@iterator",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "tuple",
"elements": [
{
"type": "reference",
"name": "Identity",
"id": 1177
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "intrinsic",
"name": "any"
}
}
]
}
]
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 175,
"character": 18
}
]
},
{
"id": 1146,
"name": "contains",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1147,
"name": "contains",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Determine whether the value has been registered.",
"returns": "`true` if the value has been registered, `false` otherwise\n"
},
"parameters": [
{
"id": 1148,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value"
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 64,
"character": 9
}
]
},
{
"id": 1149,
"name": "delete",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1150,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Remove from the registry the value for a given identifier.",
"returns": "`true` if the value was removed, `false` otherwise\n"
},
"parameters": [
{
"id": 1151,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The identifier"
},
"type": {
"type": "reference",
"name": "Identity",
"id": 1177
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 73,
"character": 7
}
]
},
{
"id": 1162,
"name": "entries",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1163,
"name": "entries",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "tuple",
"elements": [
{
"type": "reference",
"name": "Identity",
"id": 1177
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "intrinsic",
"name": "any"
}
}
]
}
]
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 151,
"character": 8
}
]
},
{
"id": 1143,
"name": "get",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1144,
"name": "get",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Look up a value by its identifier.",
"text": "Throws if no value has been registered for the given identifier.\n",
"returns": "The value\n"
},
"parameters": [
{
"id": 1145,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The identifier"
},
"type": {
"type": "reference",
"name": "Identity",
"id": 1177
}
}
],
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 50,
"character": 4
}
]
},
{
"id": 1152,
"name": "has",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1153,
"name": "has",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Determine whether a value has been registered for the given identifier.",
"returns": "`true` if a value has been registered, `false` otherwise\n"
},
"parameters": [
{
"id": 1154,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The identifier"
},
"type": {
"type": "reference",
"name": "Identity",
"id": 1177
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 88,
"character": 4
}
]
},
{
"id": 1155,
"name": "identify",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1156,
"name": "identify",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Look up the identifier for which the given value has been registered.",
"text": "Throws if the value hasn't been registered.\n",
"returns": "The identifier otherwise\n"
},
"parameters": [
{
"id": 1157,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value"
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Identity",
"id": 1177
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 100,
"character": 9
}
]
},
{
"id": 1166,
"name": "ids",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1167,
"name": "ids",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "reference",
"name": "Identity",
"id": 1177
}
]
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 171,
"character": 4
}
]
},
{
"id": 1158,
"name": "register",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1159,
"name": "register",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Register a new value with a new identity.",
"text": "Throws if a different value has already been registered for the given identity,\nor if the value has already been registered with a different identity.\n",
"returns": "A handle for deregistering the value. Note that when called repeatedly with\n the same identifier and value combination, the same handle is returned\n"
},
"parameters": [
{
"id": 1160,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The identifier"
},
"type": {
"type": "reference",
"name": "Identity",
"id": 1177
}
},
{
"id": 1161,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value"
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 119,
"character": 9
}
]
},
{
"id": 1164,
"name": "values",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1165,
"name": "values",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "intrinsic",
"name": "any"
}
}
]
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 161,
"character": 7
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1141
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1168,
1146,
1149,
1162,
1143,
1152,
1155,
1166,
1158,
1164
]
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 34,
"character": 37
}
],
"implementedTypes": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "tuple",
"elements": [
{
"type": "reference",
"name": "Identity",
"id": 1177
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "intrinsic",
"name": "any"
}
}
]
}
]
}
]
},
{
"id": 1131,
"name": "Entry",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1132,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 1133,
"name": "handle",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 11,
"character": 16
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
},
{
"id": 1134,
"name": "value",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 12,
"character": 15
}
],
"type": {
"type": "typeParameter",
"name": "V"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1133,
1134
]
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 10,
"character": 15
}
]
},
{
"id": 1135,
"name": "State",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1136,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"children": [
{
"id": 1137,
"name": "entryMap",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 16,
"character": 18
}
],
"type": {
"type": "reference",
"name": "Map",
"typeArguments": [
{
"type": "reference",
"name": "Identity",
"id": 1177
},
{
"type": "reference",
"name": "Entry",
"id": 1131,
"typeArguments": [
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "intrinsic",
"name": "any"
}
}
]
}
]
}
},
{
"id": 1138,
"name": "idMap",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 17,
"character": 15
}
],
"type": {
"type": "reference",
"name": "WeakMap",
"typeArguments": [
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "intrinsic",
"name": "any"
}
},
{
"type": "reference",
"name": "Identity",
"id": 1177
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1137,
1138
]
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 15,
"character": 15
}
]
},
{
"id": 1177,
"name": "Identity",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Registry identities can be strings or symbols. Note that the empty string is allowed."
},
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 29,
"character": 20
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
}
},
{
"id": 1172,
"name": "privateStateMap",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 20,
"character": 21
}
],
"type": {
"type": "reference",
"name": "WeakMap",
"typeArguments": [
{
"type": "reference",
"name": "IdentityRegistry",
"id": 1139,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
},
{
"type": "reference",
"name": "State",
"id": 1135,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
]
},
"defaultValue": " new WeakMap<IdentityRegistry<any>, State<any>>()"
},
{
"id": 1173,
"name": "getState",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1174,
"name": "getState",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1175,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"parameters": [
{
"id": 1176,
"name": "instance",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IdentityRegistry",
"id": 1139,
"typeArguments": [
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "intrinsic",
"name": "any"
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "State",
"id": 1135,
"typeArguments": [
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "intrinsic",
"name": "any"
}
}
]
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 22,
"character": 17
}
]
},
{
"id": 1170,
"name": "noop",
"kind": 64,
"kindString": "Function",
"flags": {
"isConst": true,
"__visited__": true
},
"signatures": [
{
"id": 1171,
"name": "noop",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 8,
"character": 10
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1139
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
1131,
1135
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
1177
]
},
{
"title": "Variables",
"kind": 32,
"children": [
1172
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1173,
1170
]
}
],
"sources": [
{
"fileName": "IdentityRegistry.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1067,
"name": "\"List\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/List.ts",
"children": [
{
"id": 1068,
"name": "List",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 1069,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 1074,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1075,
"name": "new List",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1076,
"name": "source",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
},
{
"type": "reference",
"name": "ArrayLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"type": {
"type": "reference",
"name": "List",
"id": 1068
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 17,
"character": 2
}
]
},
{
"id": 1072,
"name": "size",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1073,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 15,
"character": 9
}
]
},
{
"id": 1070,
"name": "__@iterator",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1071,
"name": "__@iterator",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 11,
"character": 18
}
]
},
{
"id": 1077,
"name": "add",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1078,
"name": "add",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1079,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 35,
"character": 4
}
]
},
{
"id": 1080,
"name": "clear",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1081,
"name": "clear",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 40,
"character": 6
}
]
},
{
"id": 1082,
"name": "delete",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1083,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1084,
"name": "idx",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 44,
"character": 7
}
]
},
{
"id": 1085,
"name": "entries",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1086,
"name": "entries",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "tuple",
"elements": [
{
"type": "intrinsic",
"name": "number"
},
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 53,
"character": 8
}
]
},
{
"id": 1087,
"name": "forEach",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1088,
"name": "forEach",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1089,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1090,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1091,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1092,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 1093,
"name": "idx",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1094,
"name": "list",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 57,
"character": 12
}
]
}
}
},
{
"id": 1095,
"name": "thisArg",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 57,
"character": 8
}
]
},
{
"id": 1096,
"name": "has",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1097,
"name": "has",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1098,
"name": "idx",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 61,
"character": 4
}
]
},
{
"id": 1099,
"name": "includes",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1100,
"name": "includes",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1101,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 65,
"character": 9
}
]
},
{
"id": 1102,
"name": "indexOf",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1103,
"name": "indexOf",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1104,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 69,
"character": 8
}
]
},
{
"id": 1105,
"name": "join",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1106,
"name": "join",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1107,
"name": "separator",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\",\""
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 73,
"character": 5
}
]
},
{
"id": 1108,
"name": "keys",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1109,
"name": "keys",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 77,
"character": 5
}
]
},
{
"id": 1110,
"name": "lastIndexOf",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1111,
"name": "lastIndexOf",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1112,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 81,
"character": 12
}
]
},
{
"id": 1116,
"name": "pop",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1117,
"name": "pop",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 89,
"character": 4
}
]
},
{
"id": 1113,
"name": "push",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1114,
"name": "push",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1115,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 85,
"character": 5
}
]
},
{
"id": 1118,
"name": "splice",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1119,
"name": "splice",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1120,
"name": "start",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1121,
"name": "deleteCount",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1122,
"name": "newItems",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"type": {
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 93,
"character": 7
}
]
},
{
"id": 1123,
"name": "values",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1124,
"name": "values",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 101,
"character": 7
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1074
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
1072
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1070,
1077,
1080,
1082,
1085,
1087,
1096,
1099,
1102,
1105,
1108,
1110,
1116,
1113,
1118,
1123
]
}
],
"sources": [
{
"fileName": "List.ts",
"line": 10,
"character": 25
}
]
},
{
"id": 1125,
"name": "listItems",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "List.ts",
"line": 4,
"character": 15
}
],
"type": {
"type": "reference",
"name": "WeakMap",
"typeArguments": [
{
"type": "reference",
"name": "List",
"id": 1068,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
]
},
"defaultValue": " new WeakMap<List<any>, any[]>()"
},
{
"id": 1126,
"name": "getListItems",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1127,
"name": "getListItems",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1128,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1129,
"name": "list",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "List",
"id": 1068,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"sources": [
{
"fileName": "List.ts",
"line": 6,
"character": 21
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1068
]
},
{
"title": "Variables",
"kind": 32,
"children": [
1125
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1126
]
}
],
"sources": [
{
"fileName": "List.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1218,
"name": "\"MatchRegistry\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/MatchRegistry.ts",
"children": [
{
"id": 1223,
"name": "MatchRegistry",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A registry of values tagged with matchers."
},
"typeParameter": [
{
"id": 1224,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 1226,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Construct a new MatchRegistry, optionally containing a given default value."
},
"signatures": [
{
"id": 1227,
"name": "new MatchRegistry",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Construct a new MatchRegistry, optionally containing a given default value."
},
"parameters": [
{
"id": 1228,
"name": "defaultValue",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "T",
"id": 1224
}
}
],
"type": {
"type": "reference",
"name": "MatchRegistry",
"id": 1223
}
}
],
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 17,
"character": 46
}
]
},
{
"id": 1225,
"name": "_defaultValue",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 16,
"character": 24
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
},
{
"id": 1229,
"name": "match",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1230,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return the first entry in this registry that matches the given arguments. If no entry matches and the registry\nwas created with a default value, that value will be returned. Otherwise, an exception is thrown.",
"returns": "the matching value, or a default value if one exists.\n"
},
"parameters": [
{
"id": 1231,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 34,
"character": 6
}
]
},
{
"id": 1232,
"name": "register",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1233,
"name": "register",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Register a test + value pair with this registry."
},
"parameters": [
{
"id": 1234,
"name": "test",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The test that will be used to determine if the registered value matches a set of arguments."
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Test",
"id": 1237
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 1235,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "A value being registered."
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 1236,
"name": "first",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "If true, the newly registered test and value will be the first entry in the registry.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 58,
"character": 9
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1226
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
1225
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1229,
1232
]
}
],
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 15,
"character": 34
}
],
"extendedBy": [
{
"type": "reference",
"name": "ProviderRegistry",
"id": 1600
}
]
},
{
"id": 1219,
"name": "Entry",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An entry in a MatchRegistry. Each Entry contains a test to determine whether the Entry is applicable, and a value for\nthe entry."
},
"typeParameter": [
{
"id": 1220,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 1221,
"name": "test",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 8,
"character": 14
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Test",
"id": 1237
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 1222,
"name": "value",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 9,
"character": 15
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1221,
1222
]
}
],
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 7,
"character": 15
}
]
},
{
"id": 1237,
"name": "Test",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The interface that a test function must implement."
},
"signatures": [
{
"id": 1238,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The interface that a test function must implement."
},
"parameters": [
{
"id": 1239,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "boolean"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 85,
"character": 21
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1223
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
1219,
1237
]
}
],
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 2323,
"name": "\"MultiMap\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/MultiMap.ts",
"children": [
{
"id": 2324,
"name": "MultiMap",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A map implmentation that supports multiple keys for specific value."
},
"typeParameter": [
{
"id": 2325,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Accepts the type of the value\n"
}
}
],
"children": [
{
"id": 2326,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "constructor",
"text": "\n"
}
]
},
"signatures": [
{
"id": 2327,
"name": "new MultiMap",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "constructor",
"text": "\n"
}
]
},
"parameters": [
{
"id": 2328,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ArrayLike",
"typeArguments": [
{
"type": "tuple",
"elements": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
},
{
"type": "typeParameter",
"name": "T"
}
]
}
]
},
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "tuple",
"elements": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
},
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
}
}
],
"type": {
"type": "reference",
"name": "MultiMap",
"id": 2324
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 13,
"character": 22
}
]
},
{
"id": 2363,
"name": "__@toStringTag",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "MultiMap.ts",
"line": 234,
"character": 21
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"MultiMap\""
},
{
"id": 2339,
"name": "size",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Returns the size of the map, based on the number of unique keys"
},
"getSignature": [
{
"id": 2340,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns the size of the map, based on the number of unique keys"
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 104,
"character": 9
}
]
},
{
"id": 2361,
"name": "__@iterator",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2362,
"name": "__@iterator",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "tuple",
"elements": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
},
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 230,
"character": 18
}
]
},
{
"id": 2359,
"name": "clear",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2360,
"name": "clear",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Deletes all keys and their associated values."
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 226,
"character": 6
}
]
},
{
"id": 2341,
"name": "delete",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2342,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Deletes the entry for the key provided.",
"returns": "boolean trus if the entry was deleted, false if the entry was not found\n"
},
"parameters": [
{
"id": 2343,
"name": "keys",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "the key of the entry to remove"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 114,
"character": 7
}
]
},
{
"id": 2348,
"name": "entries",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2349,
"name": "entries",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns an iterator that yields each key/value pair as an array.",
"returns": "An iterator for each key/value pair in the instance.\n"
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "tuple",
"elements": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
},
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 189,
"character": 8
}
]
},
{
"id": 2350,
"name": "forEach",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2351,
"name": "forEach",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Executes a given function for each map entry. The function\nis invoked with three arguments: the element value, the\nelement key, and the associated Map instance."
},
"parameters": [
{
"id": 2352,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The function to execute for each map entry,"
},
"type": {
"type": "reflection",
"declaration": {
"id": 2353,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2354,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2355,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 2356,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
},
{
"id": 2357,
"name": "mapInstance",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "MultiMap",
"id": 2324,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 215,
"character": 18
}
]
}
}
},
{
"id": 2358,
"name": "context",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "The value to use for `this` for each execution of the calback\n"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reference",
"name": "__type"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 215,
"character": 8
}
]
},
{
"id": 2333,
"name": "get",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2334,
"name": "get",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns the value entry for the array of keys",
"returns": "The value if found otherwise `undefined`\n"
},
"parameters": [
{
"id": 2335,
"name": "keys",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The array of keys to look up the value for\n"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 70,
"character": 4
}
]
},
{
"id": 2336,
"name": "has",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2337,
"name": "has",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns a boolean indicating if the key exists in the map",
"returns": "boolean true if the key exists otherwise false\n"
},
"parameters": [
{
"id": 2338,
"name": "keys",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 89,
"character": 4
}
]
},
{
"id": 2346,
"name": "keys",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2347,
"name": "keys",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return an iterator that yields each key array in the map",
"returns": "An iterator containing the instance's keys.\n"
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
]
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 166,
"character": 5
}
]
},
{
"id": 2329,
"name": "set",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2330,
"name": "set",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Sets the value for the array of keys provided",
"returns": "the multi map instance\n"
},
"parameters": [
{
"id": 2331,
"name": "keys",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The array of keys to store the value against"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
},
{
"id": 2332,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "the value of the map entry\n"
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 45,
"character": 4
}
]
},
{
"id": 2344,
"name": "values",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2345,
"name": "values",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return an iterator that yields each value in the map",
"returns": "An iterator containing the instance's values.\n"
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 144,
"character": 7
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
2326
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
2363
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
2339
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
2361,
2359,
2341,
2348,
2350,
2333,
2336,
2346,
2329,
2344
]
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 11,
"character": 29
}
],
"implementedTypes": [
{
"type": "reference",
"name": "Map",
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
},
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
2324
]
}
],
"sources": [
{
"fileName": "MultiMap.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1540,
"name": "\"Observable\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/Observable.ts",
"children": [
{
"id": 1541,
"name": "Observable",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 1542,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 1595,
"name": "Observable",
"kind": 1024,
"kindString": "Property",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "node_modules/@dojo/shim/Observable.d.ts",
"line": 154,
"character": 29
}
],
"type": {
"type": "reference",
"name": "ObservableConstructor"
}
},
{
"id": 1566,
"name": "filter",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1567,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1568,
"name": "filterFunction",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1569,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1570,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1571,
"name": "x",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 76,
"character": 23
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 76,
"character": 7
}
]
},
{
"id": 1559,
"name": "map",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1560,
"name": "map",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1561,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1562,
"name": "mapFunction",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1563,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1564,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1565,
"name": "x",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "typeParameter",
"name": "U"
}
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 49,
"character": 20
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "typeParameter",
"name": "U"
}
]
}
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 49,
"character": 4
}
]
},
{
"id": 1574,
"name": "mergeAll",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1575,
"name": "mergeAll",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1576,
"name": "concurrent",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 125,
"character": 9
}
]
},
{
"id": 1572,
"name": "toArray",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1573,
"name": "toArray",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
}
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 104,
"character": 8
}
]
},
{
"id": 1557,
"name": "toPromise",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1558,
"name": "toPromise",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 36,
"character": 10
}
]
},
{
"id": 1593,
"name": "__@observable",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1594,
"name": "__@observable",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "this"
},
"overwrites": {
"type": "reference",
"name": "ObservableObject.[Symbol.observable]"
},
"inheritedFrom": {
"type": "reference",
"name": "Observable.[Symbol.observable]"
}
}
],
"sources": [
{
"fileName": "node_modules/@dojo/shim/Observable.d.ts",
"line": 24,
"character": 23
}
],
"overwrites": {
"type": "reference",
"name": "ObservableObject.[Symbol.observable]"
},
"inheritedFrom": {
"type": "reference",
"name": "Observable.[Symbol.observable]"
}
},
{
"id": 1551,
"name": "defer",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1552,
"name": "defer",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1553,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1554,
"name": "deferFunction",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1555,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1556,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Subscribable",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 18,
"character": 31
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 18,
"character": 13
}
]
},
{
"id": 1547,
"name": "from",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1548,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1549,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1550,
"name": "item",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
},
{
"type": "reference",
"name": "ArrayLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
},
{
"type": "reference",
"name": "ObservableObject"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 14,
"character": 12
}
]
},
{
"id": 1543,
"name": "of",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1544,
"name": "of",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1545,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1546,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 10,
"character": 10
}
]
},
{
"id": 1577,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1578,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Registers handlers for handling emitted values, error and completions from the observable, and\nexecutes the observable's subscriber function, which will take action to set up the underlying data stream.",
"returns": "A Subscription object that can be used to manage the subscription.\n"
},
"parameters": [
{
"id": 1579,
"name": "observer",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The observer object that will handle events\n"
},
"type": {
"type": "reference",
"name": "Observer",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Subscription"
},
"inheritedFrom": {
"type": "reference",
"name": "Observable.subscribe"
}
},
{
"id": 1580,
"name": "subscribe",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Registers handlers for handling emitted values, error and completions from the observable, and\nexecutes the observable's subscriber function, which will take action to set up the underlying data stream.",
"returns": "A Subscription object that can be used to manage the subscription.\n"
},
"parameters": [
{
"id": 1581,
"name": "onNext",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "A function to handle an emitted value. Value is passed in as the first parameter to the function."
},
"type": {
"type": "reflection",
"declaration": {
"id": 1582,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1583,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1584,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "node_modules/@dojo/shim/Observable.d.ts",
"line": 23,
"character": 21
}
]
}
}
},
{
"id": 1585,
"name": "onError",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "A function to handle errors that occur during onNext, or during subscription."
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 1586,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1587,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1588,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
]
}
}
]
}
},
{
"id": 1589,
"name": "onComplete",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "A function that gets called when the subscription is complete, and will not send any more values. This function will also get called if an error occurs and onError is not defined.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 1590,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1591,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1592,
"name": "completeValue",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "Subscription"
},
"inheritedFrom": {
"type": "reference",
"name": "Observable.subscribe"
}
}
],
"sources": [
{
"fileName": "node_modules/@dojo/shim/Observable.d.ts",
"line": 12,
"character": 13
},
{
"fileName": "node_modules/@dojo/shim/Observable.d.ts",
"line": 23,
"character": 13
}
],
"inheritedFrom": {
"type": "reference",
"name": "Observable.subscribe"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1595
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1566,
1559,
1574,
1572,
1557,
1593,
1551,
1547,
1543,
1577
]
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 9,
"character": 31
}
],
"extendedTypes": [
{
"type": "reference",
"name": "Observable",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
},
{
"id": 1596,
"name": "isSubscribable",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1597,
"name": "isSubscribable",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1598,
"name": "object",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 5,
"character": 23
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1541
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1596
]
}
],
"sources": [
{
"fileName": "Observable.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 2364,
"name": "\"QueuingEvented\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/QueuingEvented.ts",
"children": [
{
"id": 2365,
"name": "QueuingEvented",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "An implementation of the Evented class that queues up events when no listeners are\nlistening. When a listener is subscribed, the queue will be published to the listener.\nWhen the queue is full, the oldest events will be discarded to make room for the newest ones.",
"tags": [
{
"tag": "property",
"text": "maxEvents The number of events to queue before old events are discarded. If zero (default), an unlimited number of events is queued.\n"
}
]
},
"typeParameter": [
{
"id": 2366,
"name": "M",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
},
{
"id": 2367,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 2368,
"name": "O",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"children": [
{
"id": 2386,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "constructor",
"text": "\n"
}
]
},
"signatures": [
{
"id": 2387,
"name": "new QueuingEvented",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "constructor",
"text": "\n"
}
]
},
"type": {
"type": "reference",
"name": "QueuingEvented",
"id": 2365
},
"inheritedFrom": {
"type": "reference",
"name": "Destroyable.__constructor",
"id": 966
}
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 23,
"character": 27
}
],
"inheritedFrom": {
"type": "reference",
"name": "Destroyable.__constructor",
"id": 966
}
},
{
"id": 2384,
"name": "__typeMap__",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "Evented.ts",
"line": 64,
"character": 22
}
],
"type": {
"type": "reference",
"name": "M",
"id": 2366
},
"inheritedFrom": {
"type": "reference",
"name": "Evented.__typeMap__",
"id": 986
}
},
{
"id": 2385,
"name": "listenersMap",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"comment": {
"shortText": "map of listeners keyed by event type"
},
"sources": [
{
"fileName": "Evented.ts",
"line": 68,
"character": 23
}
],
"type": {
"type": "reference",
"name": "Map",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
}
}
]
},
{
"type": "array",
"elementType": {
"type": "reference",
"name": "EventedCallback",
"id": 1014,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
}
]
},
"defaultValue": " new Map()",
"inheritedFrom": {
"type": "reference",
"name": "Evented.listenersMap",
"id": 987
}
},
{
"id": 2369,
"name": "maxEvents",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isPublic": true,
"__visited__": true
},
"sources": [
{
"fileName": "QueuingEvented.ts",
"line": 19,
"character": 17
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"defaultValue": "0"
},
{
"id": 2391,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2392,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Destrpys all handers registered for the instance",
"returns": "a promise that resolves once all handles have been destroyed\n"
},
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Destroyable.destroy",
"id": 971
}
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 55,
"character": 8
}
],
"inheritedFrom": {
"type": "reference",
"name": "Destroyable.destroy",
"id": 971
}
},
{
"id": 2370,
"name": "emit",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2371,
"name": "emit",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 2372,
"name": "K",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
}
}
}
],
"parameters": [
{
"id": 2373,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "unknown",
"name": "M[K]"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"overwrites": {
"type": "reference",
"name": "Evented.emit",
"id": 988
}
},
{
"id": 2374,
"name": "emit",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2375,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
},
"overwrites": {
"type": "reference",
"name": "Evented.emit",
"id": 988
}
}
],
"sources": [
{
"fileName": "QueuingEvented.ts",
"line": 21,
"character": 5
},
{
"fileName": "QueuingEvented.ts",
"line": 22,
"character": 5
},
{
"fileName": "QueuingEvented.ts",
"line": 23,
"character": 5
}
],
"overwrites": {
"type": "reference",
"name": "Evented.emit",
"id": 988
}
},
{
"id": 2376,
"name": "on",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2377,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 2378,
"name": "K",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
}
}
}
],
"parameters": [
{
"id": 2379,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "K",
"constraint": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
}
}
}
},
{
"id": 2380,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventedCallbackOrArray",
"id": 1020,
"typeArguments": [
{
"type": "typeParameter",
"name": "K",
"constraint": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
}
}
},
{
"type": "unknown",
"name": "M[K]"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
},
"overwrites": {
"type": "reference",
"name": "Evented.on",
"id": 994
}
},
{
"id": 2381,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2382,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 2383,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventedCallbackOrArray",
"id": 1020,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
},
"overwrites": {
"type": "reference",
"name": "Evented.on",
"id": 994
}
}
],
"sources": [
{
"fileName": "QueuingEvented.ts",
"line": 53,
"character": 3
},
{
"fileName": "QueuingEvented.ts",
"line": 54,
"character": 3
},
{
"fileName": "QueuingEvented.ts",
"line": 55,
"character": 3
}
],
"overwrites": {
"type": "reference",
"name": "Evented.on",
"id": 994
}
},
{
"id": 2388,
"name": "own",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2389,
"name": "own",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Register handles for the instance that will be destroyed when `this.destroy` is called",
"returns": "a handle for the handle, removes the handle for the instance and calls destroy\n"
},
"parameters": [
{
"id": 2390,
"name": "handles",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Handle",
"id": 16
},
{
"type": "array",
"elementType": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
},
"inheritedFrom": {
"type": "reference",
"name": "Destroyable.own",
"id": 968
}
}
],
"sources": [
{
"fileName": "Destroyable.ts",
"line": 38,
"character": 4
}
],
"inheritedFrom": {
"type": "reference",
"name": "Destroyable.own",
"id": 968
}
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
2386
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
2384,
2385,
2369
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
2391,
2370,
2376,
2388
]
}
],
"sources": [
{
"fileName": "QueuingEvented.ts",
"line": 12,
"character": 20
}
],
"extendedTypes": [
{
"type": "reference",
"name": "Evented",
"id": 982,
"typeArguments": [
{
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
},
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
2365
]
}
],
"sources": [
{
"fileName": "QueuingEvented.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 2019,
"name": "\"Scheduler\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/Scheduler.ts",
"children": [
{
"id": 2029,
"name": "Scheduler",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 2056,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2057,
"name": "new Scheduler",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2058,
"name": "kwArgs",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "KwArgs",
"id": 2020
}
}
],
"type": {
"type": "reference",
"name": "Scheduler",
"id": 2029
}
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 88,
"character": 2
}
]
},
{
"id": 2030,
"name": "_boundDispatch",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"sources": [
{
"fileName": "Scheduler.ts",
"line": 20,
"character": 34
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 2031,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2032,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 20,
"character": 35
}
]
}
}
},
{
"id": 2033,
"name": "_deferred",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"sources": [
{
"fileName": "Scheduler.ts",
"line": 21,
"character": 20
}
],
"type": {
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "reference",
"name": "QueueItem"
}
},
{
"type": "intrinsic",
"name": "null"
}
]
},
"defaultValue": " null"
},
{
"id": 2034,
"name": "_isProcessing",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"sources": [
{
"fileName": "Scheduler.ts",
"line": 22,
"character": 24
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2035,
"name": "_queue",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"sources": [
{
"fileName": "Scheduler.ts",
"line": 23,
"character": 26
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"name": "QueueItem"
}
}
},
{
"id": 2036,
"name": "_task",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"sources": [
{
"fileName": "Scheduler.ts",
"line": 24,
"character": 16
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Handle",
"id": 16
},
{
"type": "intrinsic",
"name": "null"
}
]
},
"defaultValue": " null"
},
{
"id": 2037,
"name": "deferWhileProcessing",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Determines whether any callbacks registered during should be added to the current batch (`false`)\nor deferred until the next batch (`true`, default)."
},
"sources": [
{
"fileName": "Scheduler.ts",
"line": 30,
"character": 21
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "boolean"
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
},
{
"id": 2038,
"name": "queueFunction",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Allows users to specify the function that should be used to schedule callbacks.\nIf no function is provided, then `queueTask` will be used."
},
"sources": [
{
"fileName": "Scheduler.ts",
"line": 36,
"character": 14
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 2039,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2040,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2041,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 2042,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2043,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2044,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 36,
"character": 26
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 36,
"character": 15
}
]
}
}
},
{
"id": 2045,
"name": "_defer",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"signatures": [
{
"id": 2046,
"name": "_defer",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2047,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 2048,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2049,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2050,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 38,
"character": 27
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 38,
"character": 17
}
]
},
{
"id": 2051,
"name": "_dispatch",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"signatures": [
{
"id": 2052,
"name": "_dispatch",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 53,
"character": 20
}
]
},
{
"id": 2053,
"name": "_schedule",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"signatures": [
{
"id": 2054,
"name": "_schedule",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2055,
"name": "item",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "QueueItem"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 82,
"character": 20
}
]
},
{
"id": 2059,
"name": "schedule",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2060,
"name": "schedule",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2061,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 2062,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2063,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2064,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 99,
"character": 19
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 99,
"character": 9
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
2056
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
2030,
2033,
2034,
2035,
2036,
2037,
2038
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
2045,
2051,
2053,
2059
]
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 19,
"character": 30
}
]
},
{
"id": 2020,
"name": "KwArgs",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 2021,
"name": "deferWhileProcessing",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "Scheduler.ts",
"line": 15,
"character": 21
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 2022,
"name": "queueFunction",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "Scheduler.ts",
"line": 16,
"character": 14
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 2023,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2024,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2025,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 2026,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2027,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2028,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 16,
"character": 27
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
]
}
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
2021,
2022
]
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 14,
"character": 23
}
]
},
{
"id": 2065,
"name": "getQueueHandle",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2066,
"name": "getQueueHandle",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2067,
"name": "item",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "QueueItem"
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 4,
"character": 23
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
2029
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
2020
]
},
{
"title": "Functions",
"kind": 64,
"children": [
2065
]
}
],
"sources": [
{
"fileName": "Scheduler.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1506,
"name": "\"UrlSearchParams\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/UrlSearchParams.ts",
"children": [
{
"id": 1507,
"name": "UrlSearchParams",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Represents a set of URL query search parameters."
},
"children": [
{
"id": 1508,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Constructs a new UrlSearchParams from a query string, an object of parameters and values, or another\nUrlSearchParams."
},
"signatures": [
{
"id": 1509,
"name": "new UrlSearchParams",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Constructs a new UrlSearchParams from a query string, an object of parameters and values, or another\nUrlSearchParams."
},
"parameters": [
{
"id": 1510,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"name": "ParamList",
"id": 1536
},
{
"type": "reference",
"name": "UrlSearchParams",
"id": 1507
}
]
}
}
],
"type": {
"type": "reference",
"name": "UrlSearchParams",
"id": 1507
}
}
],
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 44,
"character": 38
}
]
},
{
"id": 1511,
"name": "_list",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"comment": {
"shortText": "Maps property keys to arrays of values. The value for any property that has been set will be an array containing\nat least one item. Properties that have been deleted will have a value of 'undefined'."
},
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 81,
"character": 25
}
],
"type": {
"type": "reference",
"name": "Hash",
"id": 19,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
]
}
},
{
"id": 1512,
"name": "append",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1513,
"name": "append",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Appends a new value to the set of values for a key."
},
"parameters": [
{
"id": 1514,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The key to add a value for"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1515,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to add\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 88,
"character": 7
}
]
},
{
"id": 1516,
"name": "delete",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1517,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Deletes all values for a key."
},
"parameters": [
{
"id": 1518,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The key whose values are to be removed\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 103,
"character": 7
}
]
},
{
"id": 1519,
"name": "get",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1520,
"name": "get",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns the first value associated with a key.",
"returns": "The first string value for the key\n"
},
"parameters": [
{
"id": 1521,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The key to return the first value for"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
}
],
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 115,
"character": 4
}
]
},
{
"id": 1522,
"name": "getAll",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1523,
"name": "getAll",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns all the values associated with a key.",
"returns": "An array of strings containing all values for the key\n"
},
"parameters": [
{
"id": 1524,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The key to return all values for"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
}
],
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 128,
"character": 7
}
]
},
{
"id": 1525,
"name": "has",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1526,
"name": "has",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns true if a key has been set to any value, false otherwise.",
"returns": "A boolean indicating if the key has been set\n"
},
"parameters": [
{
"id": 1527,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The key to test for existence"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 140,
"character": 4
}
]
},
{
"id": 1528,
"name": "keys",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1529,
"name": "keys",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns an array of all keys which have been set.",
"returns": "An array of strings containing all keys set in the UrlSearchParams instance\n"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
],
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 148,
"character": 5
}
]
},
{
"id": 1530,
"name": "set",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1531,
"name": "set",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Sets the value associated with a key."
},
"parameters": [
{
"id": 1532,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The key to set the value of\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1533,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 164,
"character": 4
}
]
},
{
"id": 1534,
"name": "toString",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1535,
"name": "toString",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns this object's data as an encoded query string.",
"returns": "A string in application/x-www-form-urlencoded format containing all of the set keys/values\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 172,
"character": 9
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1508
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
1511
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1512,
1516,
1519,
1522,
1525,
1528,
1530,
1534
]
}
],
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 44,
"character": 36
}
]
},
{
"id": 1536,
"name": "ParamList",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Object with string keys and string or string array values that describes a query string."
},
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 7,
"character": 21
}
],
"type": {
"type": "reference",
"name": "Hash",
"id": 19,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
]
}
},
{
"id": 1537,
"name": "parseQueryString",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1538,
"name": "parseQueryString",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Parses a query string, returning a ParamList object."
},
"parameters": [
{
"id": 1539,
"name": "input",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "ParamList",
"id": 1536
}
}
],
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 12,
"character": 25
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1507
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
1536
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1537
]
}
],
"sources": [
{
"fileName": "UrlSearchParams.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 455,
"name": "\"aspect\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/aspect.ts",
"children": [
{
"id": 469,
"name": "Advised",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A meta data structure when applying advice"
},
"children": [
{
"id": 471,
"name": "advice",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 38,
"character": 7
}
],
"type": {
"type": "reference",
"name": "Function"
}
},
{
"id": 470,
"name": "id",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 37,
"character": 12
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 473,
"name": "next",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 40,
"character": 5
}
],
"type": {
"type": "reference",
"name": "Advised",
"id": 469
}
},
{
"id": 472,
"name": "previous",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 39,
"character": 9
}
],
"type": {
"type": "reference",
"name": "Advised",
"id": 469
}
},
{
"id": 474,
"name": "receiveArguments",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 41,
"character": 26
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
471,
470,
473,
472,
474
]
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 36,
"character": 17
}
]
},
{
"id": 475,
"name": "Dispatcher",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A function that dispatches advice which is decorated with additional\nmeta data about the advice to apply"
},
"signatures": [
{
"id": 478,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A function that dispatches advice which is decorated with additional\nmeta data about the advice to apply"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"indexSignature": [
{
"id": 476,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A function that dispatches advice which is decorated with additional\nmeta data about the advice to apply"
},
"parameters": [
{
"id": 477,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Advised",
"id": 469
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
}
],
"children": [
{
"id": 482,
"name": "after",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 54,
"character": 6
}
],
"type": {
"type": "reference",
"name": "Advised",
"id": 469
}
},
{
"id": 481,
"name": "around",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 53,
"character": 7
}
],
"type": {
"type": "reference",
"name": "Advised",
"id": 469
}
},
{
"id": 480,
"name": "before",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 52,
"character": 7
}
],
"type": {
"type": "reference",
"name": "Advised",
"id": 469
}
},
{
"id": 479,
"name": "target",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 51,
"character": 7
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
482,
481,
480,
479
]
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 48,
"character": 20
}
]
},
{
"id": 503,
"name": "GenericFunction",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 504,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"signatures": [
{
"id": 505,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 506,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 96,
"character": 32
}
]
},
{
"id": 466,
"name": "Indexable",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"indexSignature": [
{
"id": 467,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 468,
"name": "method",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 22,
"character": 26
}
]
},
{
"id": 488,
"name": "JoinPointAfterAdvice",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 489,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"signatures": [
{
"id": 490,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Advice which is applied *after*, receiving the result and arguments from the join point.",
"returns": "The value returned from the advice is then the result of calling the method\n"
},
"parameters": [
{
"id": 491,
"name": "result",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The result from the function being advised"
},
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 492,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"comment": {
"text": "The arguments that were supplied to the advised function"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 63,
"character": 37
}
]
},
{
"id": 493,
"name": "JoinPointAroundAdvice",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 494,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"signatures": [
{
"id": 495,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Advice which is applied *around*. The advising function receives the original function and\nneeds to return a new function which will then invoke the original function.",
"returns": "A new function which will invoke the original function.\n"
},
"parameters": [
{
"id": 496,
"name": "origFn",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The original function"
},
"type": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 497,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 498,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 499,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 82,
"character": 30
}
]
}
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 74,
"character": 38
}
]
},
{
"id": 500,
"name": "JoinPointBeforeAdvice",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 501,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Advice which is applied *before*, receiving the original arguments, if the advising\nfunction returns a value, it is passed further along taking the place of the original\narguments."
},
"parameters": [
{
"id": 502,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"comment": {
"text": "The arguments the method was called with\n"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
},
{
"type": "intrinsic",
"name": "void"
}
]
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 85,
"character": 38
}
]
},
{
"id": 483,
"name": "JoinPointDispatchAdvice",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 484,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 486,
"name": "after",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 59,
"character": 6
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"name": "JoinPointAfterAdvice",
"id": 488,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
},
{
"id": 485,
"name": "before",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 58,
"character": 7
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"name": "JoinPointBeforeAdvice",
"id": 500
}
}
},
{
"id": 487,
"name": "joinPoint",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 60,
"character": 19
}
],
"type": {
"type": "reference",
"name": "Function"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
486,
485,
487
]
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 57,
"character": 40
}
]
},
{
"id": 456,
"name": "MapLike",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "An object that provides the necessary APIs to be MapLike"
},
"typeParameter": [
{
"id": 457,
"name": "K",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 458,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 459,
"name": "get",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 460,
"name": "get",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 461,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "K"
}
}
],
"type": {
"type": "typeParameter",
"name": "V"
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 9,
"character": 4
}
]
},
{
"id": 462,
"name": "set",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 463,
"name": "set",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 464,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "K"
}
},
{
"id": 465,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "V",
"id": 458
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 10,
"character": 4
}
]
}
],
"groups": [
{
"title": "Methods",
"kind": 2048,
"children": [
459,
462
]
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 8,
"character": 24
}
]
},
{
"id": 511,
"name": "AdviceType",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "aspect.ts",
"line": 31,
"character": 15
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "before"
},
{
"type": "stringLiteral",
"value": "after"
},
{
"type": "stringLiteral",
"value": "around"
}
]
}
},
{
"id": 510,
"name": "Targetable",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The types of objects or maps where advice can be applied"
},
"sources": [
{
"fileName": "aspect.ts",
"line": 29,
"character": 22
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "MapLike",
"id": 456,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
},
{
"type": "intrinsic",
"name": "any"
}
]
},
{
"type": "reference",
"name": "Indexable",
"id": 466
}
]
}
},
{
"id": 512,
"name": "dispatchAdviceMap",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"comment": {
"shortText": "A weak map of dispatchers used to apply the advice"
},
"sources": [
{
"fileName": "aspect.ts",
"line": 103,
"character": 23
}
],
"type": {
"type": "reference",
"name": "WeakMap",
"typeArguments": [
{
"type": "reference",
"name": "Function"
},
{
"type": "reference",
"name": "JoinPointDispatchAdvice",
"id": 483,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
]
},
"defaultValue": " new WeakMap<Function, JoinPointDispatchAdvice<any>>()"
},
{
"id": 513,
"name": "nextId",
"kind": 32,
"kindString": "Variable",
"flags": {
"isLet": true,
"__visited__": true
},
"comment": {
"shortText": "A UID for tracking advice ordering"
},
"sources": [
{
"fileName": "aspect.ts",
"line": 108,
"character": 10
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"defaultValue": "0"
},
{
"id": 520,
"name": "adviseJoinPoint",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 521,
"name": "adviseJoinPoint",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Advise a join point (function) with supplied advice"
},
"typeParameter": [
{
"id": 522,
"name": "F",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
},
{
"id": 523,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 524,
"name": "this",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 525,
"name": "joinPoint",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The function to be advised"
},
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
},
{
"id": 526,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The type of advice to be applied"
},
"type": {
"type": "reference",
"name": "AdviceType",
"id": 511
}
},
{
"id": 527,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The advice to apply\n"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "JoinPointBeforeAdvice",
"id": 500
},
{
"type": "reference",
"name": "JoinPointAfterAdvice",
"id": 488,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
},
{
"type": "reference",
"name": "JoinPointAroundAdvice",
"id": 493,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 183,
"character": 24
}
]
},
{
"id": 514,
"name": "adviseObject",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 515,
"name": "adviseObject",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Internal function that advises a join point",
"returns": "The handle that will remove the advice\n"
},
"parameters": [
{
"id": 516,
"name": "dispatcher",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The current advice dispatcher"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Dispatcher",
"id": 475
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
},
{
"id": 517,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The type of before or after advice to apply"
},
"type": {
"type": "reference",
"name": "AdviceType",
"id": 511
}
},
{
"id": 518,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The advice to apply"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Function"
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
},
{
"id": 519,
"name": "receiveArguments",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "If true, the advice will receive the arguments passed to the join point"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 119,
"character": 21
}
]
},
{
"id": 552,
"name": "after",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 553,
"name": "after",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Attaches \"after\" advice to be executed after the original method.\nThe advising function will receive the original method's return value and arguments object.\nThe value it returns will be returned from the method when it is called (even if the return value is undefined).",
"returns": "A handle which will remove the aspect when destroy is called\n"
},
"parameters": [
{
"id": 554,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Object whose method will be aspected"
},
"type": {
"type": "reference",
"name": "Targetable",
"id": 510
}
},
{
"id": 555,
"name": "methodName",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Name of method to aspect"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
}
},
{
"id": 556,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Advising function which will receive the original method's return value and arguments object"
},
"type": {
"type": "reflection",
"declaration": {
"id": 557,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 558,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 559,
"name": "originalReturn",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 560,
"name": "originalArgs",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IArguments"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 363,
"character": 8
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
},
{
"id": 561,
"name": "after",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Apply advice *after* the supplied joinPoint (function)"
},
"typeParameter": [
{
"id": 562,
"name": "F",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
},
{
"id": 563,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 564,
"name": "joinPoint",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "A function that should have advice applied to"
},
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
},
{
"id": 565,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The after advice\n"
},
"type": {
"type": "reference",
"name": "JoinPointAfterAdvice",
"id": 488,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 360,
"character": 21
},
{
"fileName": "aspect.ts",
"line": 371,
"character": 21
},
{
"fileName": "aspect.ts",
"line": 372,
"character": 21
}
]
},
{
"id": 537,
"name": "afterJoinPoint",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 538,
"name": "afterJoinPoint",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Apply advice *after* the supplied joinPoint (function)"
},
"typeParameter": [
{
"id": 539,
"name": "F",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
},
{
"id": 540,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 541,
"name": "joinPoint",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "A function that should have advice applied to"
},
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
},
{
"id": 542,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The after advice\n"
},
"type": {
"type": "reference",
"name": "JoinPointAfterAdvice",
"id": 488,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 328,
"character": 23
}
]
},
{
"id": 543,
"name": "afterObject",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 544,
"name": "afterObject",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Attaches \"after\" advice to be executed after the original method.\nThe advising function will receive the original method's return value and arguments object.\nThe value it returns will be returned from the method when it is called (even if the return value is undefined).",
"returns": "A handle which will remove the aspect when destroy is called\n"
},
"parameters": [
{
"id": 545,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Object whose method will be aspected"
},
"type": {
"type": "reference",
"name": "Targetable",
"id": 510
}
},
{
"id": 546,
"name": "methodName",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Name of method to aspect"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
}
},
{
"id": 547,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Advising function which will receive the original method's return value and arguments object"
},
"type": {
"type": "reflection",
"declaration": {
"id": 548,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 549,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 550,
"name": "originalReturn",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 551,
"name": "originalArgs",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IArguments"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 345,
"character": 8
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 342,
"character": 20
}
]
},
{
"id": 580,
"name": "around",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 581,
"name": "around",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Attaches \"around\" advice around the original method.",
"returns": "A handle which will remove the aspect when destroy is called\n"
},
"parameters": [
{
"id": 582,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Object whose method will be aspected"
},
"type": {
"type": "reference",
"name": "Targetable",
"id": 510
}
},
{
"id": 583,
"name": "methodName",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Name of method to aspect"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
}
},
{
"id": 584,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Advising function which will receive the original function"
},
"type": {
"type": "reflection",
"declaration": {
"id": 585,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 586,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 587,
"name": "previous",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Function"
}
}
],
"type": {
"type": "reference",
"name": "Function"
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 440,
"character": 8
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
},
{
"id": 588,
"name": "around",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Apply advice *around* the supplied joinPoint (function)"
},
"typeParameter": [
{
"id": 589,
"name": "F",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
},
{
"id": 590,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 591,
"name": "joinPoint",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "A function that should have advice applied to"
},
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
},
{
"id": 592,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The around advice\n"
},
"type": {
"type": "reference",
"name": "JoinPointAroundAdvice",
"id": 493,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 437,
"character": 22
},
{
"fileName": "aspect.ts",
"line": 448,
"character": 22
},
{
"fileName": "aspect.ts",
"line": 449,
"character": 22
}
]
},
{
"id": 566,
"name": "aroundJoinPoint",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 567,
"name": "aroundJoinPoint",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Apply advice *around* the supplied joinPoint (function)"
},
"typeParameter": [
{
"id": 568,
"name": "F",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
},
{
"id": 569,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 570,
"name": "joinPoint",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "A function that should have advice applied to"
},
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
},
{
"id": 571,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The around advice\n"
},
"type": {
"type": "reference",
"name": "JoinPointAroundAdvice",
"id": 493,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 390,
"character": 31
}
]
},
{
"id": 572,
"name": "aroundObject",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 573,
"name": "aroundObject",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Attaches \"around\" advice around the original method.",
"returns": "A handle which will remove the aspect when destroy is called\n"
},
"parameters": [
{
"id": 574,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Object whose method will be aspected"
},
"type": {
"type": "reference",
"name": "Targetable",
"id": 510
}
},
{
"id": 575,
"name": "methodName",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Name of method to aspect"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
}
},
{
"id": 576,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Advising function which will receive the original function"
},
"type": {
"type": "reflection",
"declaration": {
"id": 577,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 578,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 579,
"name": "previous",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Function"
}
}
],
"type": {
"type": "reference",
"name": "Function"
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 405,
"character": 8
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 402,
"character": 28
}
]
},
{
"id": 606,
"name": "before",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 607,
"name": "before",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Attaches \"before\" advice to be executed before the original method.",
"returns": "A handle which will remove the aspect when destroy is called\n"
},
"parameters": [
{
"id": 608,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Object whose method will be aspected"
},
"type": {
"type": "reference",
"name": "Targetable",
"id": 510
}
},
{
"id": 609,
"name": "methodName",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Name of method to aspect"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
}
},
{
"id": 610,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Advising function which will receive the same arguments as the original, and may return new arguments"
},
"type": {
"type": "reflection",
"declaration": {
"id": 611,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 612,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 613,
"name": "originalArgs",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
},
{
"type": "intrinsic",
"name": "void"
}
]
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 498,
"character": 8
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
},
{
"id": 614,
"name": "before",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Apply advice *before* the supplied joinPoint (function)"
},
"typeParameter": [
{
"id": 615,
"name": "F",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
}
],
"parameters": [
{
"id": 616,
"name": "joinPoint",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "A function that should have advice applied to"
},
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
}
},
{
"id": 617,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The before advice\n"
},
"type": {
"type": "reference",
"name": "JoinPointBeforeAdvice",
"id": 500
}
}
],
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 495,
"character": 22
},
{
"fileName": "aspect.ts",
"line": 506,
"character": 22
},
{
"fileName": "aspect.ts",
"line": 507,
"character": 22
}
]
},
{
"id": 593,
"name": "beforeJoinPoint",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 594,
"name": "beforeJoinPoint",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Apply advice *before* the supplied joinPoint (function)"
},
"typeParameter": [
{
"id": 595,
"name": "F",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
}
],
"parameters": [
{
"id": 596,
"name": "joinPoint",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "A function that should have advice applied to"
},
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
}
},
{
"id": 597,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The before advice\n"
},
"type": {
"type": "reference",
"name": "JoinPointBeforeAdvice",
"id": 500
}
}
],
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 467,
"character": 31
}
]
},
{
"id": 598,
"name": "beforeObject",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 599,
"name": "beforeObject",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Attaches \"before\" advice to be executed before the original method.",
"returns": "A handle which will remove the aspect when destroy is called\n"
},
"parameters": [
{
"id": 600,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Object whose method will be aspected"
},
"type": {
"type": "reference",
"name": "Targetable",
"id": 510
}
},
{
"id": 601,
"name": "methodName",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Name of method to aspect"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
}
},
{
"id": 602,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Advising function which will receive the same arguments as the original, and may return new arguments"
},
"type": {
"type": "reflection",
"declaration": {
"id": 603,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 604,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 605,
"name": "originalArgs",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
},
{
"type": "intrinsic",
"name": "void"
}
]
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 482,
"character": 8
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 479,
"character": 28
}
]
},
{
"id": 528,
"name": "getDispatcherObject",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 529,
"name": "getDispatcherObject",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An internal function that resolves or creates the dispatcher for a given join point",
"returns": "The dispatcher\n"
},
"parameters": [
{
"id": 530,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The target object or map"
},
"type": {
"type": "reference",
"name": "Targetable",
"id": 510
}
},
{
"id": 531,
"name": "methodName",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The name of the method that the dispatcher should be resolved for"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Dispatcher",
"id": 475
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 212,
"character": 28
}
]
},
{
"id": 532,
"name": "getJoinPointDispatcher",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 533,
"name": "getJoinPointDispatcher",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns the dispatcher function for a given joinPoint (method/function)"
},
"typeParameter": [
{
"id": 534,
"name": "F",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
},
{
"id": 535,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 536,
"name": "joinPoint",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The function that is to be advised\n"
},
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
}
],
"type": {
"type": "typeParameter",
"name": "F",
"constraint": {
"type": "reference",
"name": "GenericFunction",
"id": 503,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 278,
"character": 31
}
]
},
{
"id": 507,
"name": "isMapLike",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 508,
"name": "isMapLike",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An internal type guard that determines if an value is MapLike or not"
},
"parameters": [
{
"id": 509,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to guard against\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 18,
"character": 18
}
]
},
{
"id": 618,
"name": "on",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 619,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Attaches advice to be executed after the original method.\nThe advising function will receive the same arguments as the original method.\nThe value it returns will be returned from the method when it is called *unless* its return value is undefined.",
"returns": "A handle which will remove the aspect when destroy is called\n"
},
"parameters": [
{
"id": 620,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Object whose method will be aspected"
},
"type": {
"type": "reference",
"name": "Targetable",
"id": 510
}
},
{
"id": 621,
"name": "methodName",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Name of method to aspect"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
}
},
{
"id": 622,
"name": "advice",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Advising function which will receive the same arguments as the original method"
},
"type": {
"type": "reflection",
"declaration": {
"id": 623,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 624,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 625,
"name": "originalArgs",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 529,
"character": 75
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 529,
"character": 18
}
]
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
469,
475,
503,
466,
488,
493,
500,
483,
456
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
511,
510
]
},
{
"title": "Variables",
"kind": 32,
"children": [
512,
513
]
},
{
"title": "Functions",
"kind": 64,
"children": [
520,
514,
552,
537,
543,
580,
566,
572,
606,
593,
598,
528,
532,
507,
618
]
}
],
"sources": [
{
"fileName": "aspect.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1356,
"name": "\"async/ExtensiblePromise\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/async/ExtensiblePromise.ts",
"children": [
{
"id": 1357,
"name": "ExtensiblePromise",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "An extensible base to allow Promises to be extended in ES5. This class basically wraps a native Promise object,\ngiving an API like a native promise."
},
"typeParameter": [
{
"id": 1358,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 1391,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Creates a new extended Promise.",
"tags": [
{
"tag": "constructor",
"text": "\n"
}
]
},
"signatures": [
{
"id": 1392,
"name": "new ExtensiblePromise",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Creates a new extended Promise.",
"tags": [
{
"tag": "constructor",
"text": "\n"
}
]
},
"parameters": [
{
"id": 1393,
"name": "executor",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "\nThe executor function is called immediately when the Promise is instantiated. It is responsible for\nstarting the asynchronous operation when it is invoked.\n\nThe executor must call either the passed `resolve` function when the asynchronous operation has completed\nsuccessfully, or the `reject` function when the operation fails.\n"
},
"type": {
"type": "reference",
"name": "Executor",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 180,
"character": 31
}
]
},
{
"id": 1413,
"name": "__@toStringTag",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 246,
"character": 30
}
],
"type": {
"type": "stringLiteral",
"value": "Promise"
}
},
{
"id": 1390,
"name": "_promise",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "type",
"text": "{Promise}\nThe wrapped promise\n"
}
]
},
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 180,
"character": 18
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
},
{
"id": 1394,
"name": "catch",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1395,
"name": "catch",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Adds a callback to be invoked when the wrapped Promise is rejected.",
"returns": "\n"
},
"typeParameter": [
{
"id": 1396,
"name": "TResult",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1397,
"name": "onRejected",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "A function to call to handle the error. The parameter to the function will be the caught error.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1398,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1399,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1400,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 206,
"character": 14
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "TResult"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 205,
"character": 6
}
]
},
{
"id": 1401,
"name": "then",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1402,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Adds a callback to be invoked when the wrapped Promise resolves or is rejected.",
"returns": "\n"
},
"typeParameter": [
{
"id": 1403,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1404,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1405,
"name": "onFulfilled",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "A function to call to handle the resolution. The paramter to the function will be the resolved value, if any."
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1406,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1407,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1408,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult1"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 220,
"character": 15
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 1409,
"name": "onRejected",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "A function to call to handle the error. The parameter to the function will be the caught error.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1410,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1411,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1412,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult2"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult2"
}
]
},
{
"type": "intrinsic",
"name": "void"
}
]
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 221,
"character": 14
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1"
},
{
"type": "typeParameter",
"name": "TResult2"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 219,
"character": 5
}
]
},
{
"id": 1370,
"name": "all",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"signatures": [
{
"id": 1371,
"name": "all",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"typeParameter": [
{
"id": 1372,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1373,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An iterable of values to resolve, or a key/value pair of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "reference",
"name": "DictionaryOfPromises",
"id": 1417,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 1374,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 1375,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1376,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 88,
"character": 69
}
]
}
}
]
}
},
{
"id": 1377,
"name": "all",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"typeParameter": [
{
"id": 1378,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1379,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An iterable of values to resolve, or a key/value pair of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
}
},
{
"id": 1380,
"name": "all",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"typeParameter": [
{
"id": 1381,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1382,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An iterable of values to resolve, or a key/value pair of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Thenable",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
}
},
{
"id": 1383,
"name": "all",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"typeParameter": [
{
"id": 1384,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1385,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An iterable of values to resolve, or a key/value pair of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "reference",
"name": "ListOfPromises",
"id": 1422,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 88,
"character": 11
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 101,
"character": 11
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 114,
"character": 11
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 127,
"character": 11
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 140,
"character": 11
}
]
},
{
"id": 1386,
"name": "race",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1387,
"name": "race",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when one of the passed in objects have resolved",
"returns": "\n"
},
"typeParameter": [
{
"id": 1388,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1389,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "An iterable of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 170,
"character": 12
}
]
},
{
"id": 1359,
"name": "reject",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Return a rejected promise wrapped in an ExtensiblePromise",
"returns": "An extensible promise\n"
},
"signatures": [
{
"id": 1360,
"name": "reject",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a rejected promise wrapped in an ExtensiblePromise",
"returns": "An extensible promise\n"
},
"typeParameter": [
{
"id": 1361,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1362,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "The reason for the rejection"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "intrinsic",
"name": "never"
}
]
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 44,
"character": 14
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 52,
"character": 14
}
]
},
{
"id": 1363,
"name": "resolve",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1364,
"name": "resolve",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a resolved promise wrapped in an ExtensiblePromise",
"returns": "An extensible promise\n"
},
"typeParameter": [
{
"id": 1365,
"name": "P",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
]
}
}
],
"type": {
"type": "typeParameter",
"name": "P",
"constraint": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
]
}
}
},
{
"id": 1366,
"name": "resolve",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a resolved promise wrapped in an ExtensiblePromise",
"returns": "An extensible promise\n"
},
"typeParameter": [
{
"id": 1367,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1368,
"name": "P",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"parameters": [
{
"id": 1369,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to resolve the promise with\n"
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"type": {
"type": "typeParameter",
"name": "P",
"constraint": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 63,
"character": 15
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 72,
"character": 15
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 73,
"character": 15
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1391
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
1413,
1390
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1394,
1401,
1370,
1386,
1359,
1363
]
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 37,
"character": 38
}
],
"extendedBy": [
{
"type": "reference",
"name": "Task",
"id": 1430
},
{
"type": "reference",
"name": "DelayedRejection",
"id": 2248
}
]
},
{
"id": 1417,
"name": "DictionaryOfPromises",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 1418,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 30,
"character": 32
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1419,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 1420,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1421,
"name": "_",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
},
{
"type": "reference",
"name": "Thenable",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 30,
"character": 37
}
]
}
}
},
{
"id": 1422,
"name": "ListOfPromises",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 1423,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 31,
"character": 26
}
],
"type": {
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Thenable",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
}
},
{
"id": 1414,
"name": "unwrapPromises",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1415,
"name": "unwrapPromises",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Take a list of values, and if any are ExtensiblePromise objects, insert the wrapped Promise in its place,\notherwise use the original object. We use this to help use the native Promise methods like `all` and `race`.",
"returns": "The list of objects, as an array, with ExtensiblePromises being replaced by Promises.\n"
},
"parameters": [
{
"id": 1416,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The list of objects to iterate over"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
]
}
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 13,
"character": 30
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1357
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
1417,
1422
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1414
]
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1424,
"name": "\"async/Task\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/async/Task.ts",
"children": [
{
"id": 1425,
"name": "State",
"kind": 4,
"kindString": "Enumeration",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Describe the internal state of a task."
},
"children": [
{
"id": 1429,
"name": "Canceled",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "async/Task.ts",
"line": 13,
"character": 9
}
],
"defaultValue": "3"
},
{
"id": 1426,
"name": "Fulfilled",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "async/Task.ts",
"line": 10,
"character": 10
}
],
"defaultValue": "0"
},
{
"id": 1427,
"name": "Pending",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "async/Task.ts",
"line": 11,
"character": 8
}
],
"defaultValue": "1"
},
{
"id": 1428,
"name": "Rejected",
"kind": 16,
"kindString": "Enumeration member",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "async/Task.ts",
"line": 12,
"character": 9
}
],
"defaultValue": "2"
}
],
"groups": [
{
"title": "Enumeration members",
"kind": 16,
"children": [
1429,
1426,
1427,
1428
]
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 9,
"character": 23
}
]
},
{
"id": 1430,
"name": "Task",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Task is an extension of Promise that supports cancellation and the Task#finally method."
},
"typeParameter": [
{
"id": 1431,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 1464,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "constructor",
"text": "\n\nCreate a new task. Executor is run immediately. The canceler will be called when the task is canceled.\n"
}
]
},
"signatures": [
{
"id": 1465,
"name": "new Task",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "constructor",
"text": "\n\nCreate a new task. Executor is run immediately. The canceler will be called when the task is canceled.\n"
}
]
},
"parameters": [
{
"id": 1466,
"name": "executor",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Method that initiates some task"
},
"type": {
"type": "reference",
"name": "Executor",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
},
{
"id": 1467,
"name": "canceler",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Method to call when the task is canceled\n\n"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 1468,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1469,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430
},
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.__constructor",
"id": 1391
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 206,
"character": 2
}
],
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.__constructor",
"id": 1391
}
},
{
"id": 1497,
"name": "__@toStringTag",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 246,
"character": 30
}
],
"type": {
"type": "stringLiteral",
"value": "Promise"
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.[Symbol.toStringTag]",
"id": 1413
}
},
{
"id": 1496,
"name": "_promise",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "type",
"text": "{Promise}\nThe wrapped promise\n"
}
]
},
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 180,
"character": 18
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise._promise",
"id": 1390
}
},
{
"id": 1461,
"name": "_state",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"comment": {
"shortText": "The state of the task"
},
"sources": [
{
"fileName": "async/Task.ts",
"line": 202,
"character": 17
}
],
"type": {
"type": "reference",
"name": "State",
"id": 1425
}
},
{
"id": 1462,
"name": "state",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1463,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "State",
"id": 1425
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 204,
"character": 10
}
]
},
{
"id": 1470,
"name": "cancel",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1471,
"name": "cancel",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Immediately cancels this task if it has not already resolved. This Task and any descendants are synchronously set\nto the Canceled state and any `finally` added downstream from the canceled Task are invoked."
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 295,
"character": 7
}
]
},
{
"id": 1472,
"name": "catch",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1473,
"name": "catch",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1474,
"name": "TResult",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1475,
"name": "onRejected",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1476,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1477,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1478,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 302,
"character": 14
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "TResult"
}
]
}
]
},
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.catch",
"id": 1394
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 301,
"character": 6
}
],
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.catch",
"id": 1394
}
},
{
"id": 1479,
"name": "finally",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1480,
"name": "finally",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Allows for cleanup actions to be performed after resolution of a Promise."
},
"parameters": [
{
"id": 1481,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1483,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 310,
"character": 18
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 310,
"character": 8
}
]
},
{
"id": 1484,
"name": "then",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1485,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Adds a callback to be invoked when the Task resolves or is rejected.",
"returns": "A task\n"
},
"typeParameter": [
{
"id": 1486,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1487,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1488,
"name": "onFulfilled",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "A function to call to handle the resolution. The paramter to the function will be the resolved value, if any."
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1489,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1490,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1491,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult1"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 339,
"character": 15
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 1492,
"name": "onRejected",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "A function to call to handle the error. The parameter to the function will be the caught error.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1493,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1494,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1495,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult2"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult2"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 340,
"character": 14
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1"
},
{
"type": "typeParameter",
"name": "TResult2"
}
]
}
]
},
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.then",
"id": 1401
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 338,
"character": 5
}
],
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.then",
"id": 1401
}
},
{
"id": 1445,
"name": "all",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"signatures": [
{
"id": 1446,
"name": "all",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"typeParameter": [
{
"id": 1447,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1448,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An iterable of values to resolve, or a key/value pair of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "reference",
"name": "DictionaryOfPromises",
"id": 1417,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 1449,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 1450,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1451,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 99,
"character": 56
}
]
}
}
]
},
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.all",
"id": 1370
}
},
{
"id": 1452,
"name": "all",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"typeParameter": [
{
"id": 1453,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1454,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An iterable of values to resolve, or a key/value pair of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
},
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.all",
"id": 1370
}
},
{
"id": 1455,
"name": "all",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"typeParameter": [
{
"id": 1456,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1457,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An iterable of values to resolve, or a key/value pair of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Thenable",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
},
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.all",
"id": 1370
}
},
{
"id": 1458,
"name": "all",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"typeParameter": [
{
"id": 1459,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1460,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An iterable of values to resolve, or a key/value pair of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "reference",
"name": "ListOfPromises",
"id": 1422,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
},
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.all",
"id": 1370
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 99,
"character": 11
},
{
"fileName": "async/Task.ts",
"line": 112,
"character": 11
},
{
"fileName": "async/Task.ts",
"line": 125,
"character": 11
},
{
"fileName": "async/Task.ts",
"line": 138,
"character": 11
},
{
"fileName": "async/Task.ts",
"line": 151,
"character": 11
}
],
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.all",
"id": 1370
}
},
{
"id": 1432,
"name": "race",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1433,
"name": "race",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a Task that resolves when one of the passed in objects have resolved",
"returns": "\n"
},
"typeParameter": [
{
"id": 1434,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1435,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "An iterable of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Thenable",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
},
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.race",
"id": 1386
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 43,
"character": 12
}
],
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.race",
"id": 1386
}
},
{
"id": 1436,
"name": "reject",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1437,
"name": "reject",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a rejected promise wrapped in a Task",
"returns": "A task\n"
},
"typeParameter": [
{
"id": 1438,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1439,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "The reason for the rejection"
},
"type": {
"type": "reference",
"name": "Error"
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
},
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.reject",
"id": 1359
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 55,
"character": 14
}
],
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.reject",
"id": 1359
}
},
{
"id": 1440,
"name": "resolve",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"isPublic": true,
"__visited__": true
},
"comment": {
"shortText": "Return a resolved task.",
"returns": "A task\n"
},
"signatures": [
{
"id": 1441,
"name": "resolve",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a resolved task.",
"returns": "A task\n"
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
]
},
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.resolve",
"id": 1363
}
},
{
"id": 1442,
"name": "resolve",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a resolved task.",
"returns": "A task\n"
},
"typeParameter": [
{
"id": 1443,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1444,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The value to resolve with\n"
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Thenable",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
},
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.resolve",
"id": 1363
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 66,
"character": 22
},
{
"fileName": "async/Task.ts",
"line": 75,
"character": 22
},
{
"fileName": "async/Task.ts",
"line": 84,
"character": 22
}
],
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.resolve",
"id": 1363
}
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1464
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
1497,
1496,
1461
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
1462
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1470,
1472,
1479,
1484,
1445,
1432,
1436,
1440
]
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 36,
"character": 25
}
],
"extendedTypes": [
{
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
},
{
"id": 1498,
"name": "isTask",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1499,
"name": "isTask",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A type guard that determines if `value` is a `Task`"
},
"typeParameter": [
{
"id": 1500,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1501,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to guard\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 20,
"character": 22
}
]
},
{
"id": 1502,
"name": "isThenable",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1503,
"name": "isThenable",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns true if a given value has a `then` method.",
"returns": "A type guard if the value is thenable\n"
},
"typeParameter": [
{
"id": 1504,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1505,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to check if is Thenable"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 29,
"character": 26
}
]
}
],
"groups": [
{
"title": "Enumerations",
"kind": 4,
"children": [
1425
]
},
{
"title": "Classes",
"kind": 128,
"children": [
1430
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1498,
1502
]
}
],
"sources": [
{
"fileName": "async/Task.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 2125,
"name": "\"async/iteration\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/async/iteration.ts",
"children": [
{
"id": 2126,
"name": "Filterer",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 2127,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"signatures": [
{
"id": 2128,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2129,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 2130,
"name": "index",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2131,
"name": "array",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "boolean"
},
{
"type": "reference",
"name": "Thenable",
"typeArguments": [
{
"type": "intrinsic",
"name": "boolean"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 287,
"character": 25
}
],
"extendedTypes": [
{
"type": "reference",
"name": "Mapper",
"id": 2132,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "intrinsic",
"name": "boolean"
}
]
}
]
},
{
"id": 2132,
"name": "Mapper",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 2133,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 2134,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"signatures": [
{
"id": 2135,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2136,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 2137,
"name": "index",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2138,
"name": "array",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "U"
},
{
"type": "reference",
"name": "Thenable",
"typeArguments": [
{
"type": "typeParameter",
"name": "U"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 289,
"character": 23
}
],
"extendedBy": [
{
"type": "reference",
"name": "Filterer",
"id": 2126
}
]
},
{
"id": 2139,
"name": "Reducer",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 2140,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 2141,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"signatures": [
{
"id": 2142,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2143,
"name": "previousValue",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U"
}
},
{
"id": 2144,
"name": "currentValue",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 2145,
"name": "index",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2146,
"name": "array",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "U"
},
{
"type": "reference",
"name": "Thenable",
"typeArguments": [
{
"type": "typeParameter",
"name": "U"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 293,
"character": 24
}
]
},
{
"id": 2151,
"name": "ValuesAndResults",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 2152,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 2153,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 10,
"character": 21
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 2154,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 2156,
"name": "results",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "async/iteration.ts",
"line": 10,
"character": 64
}
],
"type": {
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "U"
}
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
},
{
"id": 2155,
"name": "values",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "async/iteration.ts",
"line": 10,
"character": 38
}
],
"type": {
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
2156,
2155
]
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 10,
"character": 29
}
]
}
}
},
{
"id": 2190,
"name": "every",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2191,
"name": "every",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Test whether all elements in the array pass the provided callback",
"returns": "eventually returns true if all values pass; otherwise false\n"
},
"typeParameter": [
{
"id": 2192,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2193,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a collection of synchronous/asynchronous values"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
},
{
"id": 2194,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a synchronous/asynchronous test"
},
"type": {
"type": "reference",
"name": "Filterer",
"id": 2126,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "boolean"
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 148,
"character": 21
}
]
},
{
"id": 2195,
"name": "filter",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2196,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns an array of elements which pass the provided callback",
"returns": "eventually returns a new array with only values that have passed\n"
},
"typeParameter": [
{
"id": 2197,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2198,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a collection of synchronous/asynchronous values"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
},
{
"id": 2199,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a synchronous/asynchronous test"
},
"type": {
"type": "reference",
"name": "Filterer",
"id": 2126,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 161,
"character": 22
}
]
},
{
"id": 2200,
"name": "find",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2201,
"name": "find",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Find the first value matching a filter function",
"returns": "a promise eventually containing the item or undefined if a match is not found\n"
},
"typeParameter": [
{
"id": 2202,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2203,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a collection of synchronous/asynchronous values"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
},
{
"id": 2204,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a synchronous/asynchronous test"
},
"type": {
"type": "reference",
"name": "Filterer",
"id": 2126,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 179,
"character": 20
}
]
},
{
"id": 2205,
"name": "findIndex",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2206,
"name": "findIndex",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Find the first index with a value matching the filter function",
"returns": "a promise eventually containing the index of the matching item or -1 if a match is not found\n"
},
"typeParameter": [
{
"id": 2207,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2208,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a collection of synchronous/asynchronous values"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
},
{
"id": 2209,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a synchronous/asynchronous test"
},
"type": {
"type": "reference",
"name": "Filterer",
"id": 2126,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 195,
"character": 25
}
]
},
{
"id": 2168,
"name": "findLastValueIndex",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2169,
"name": "findLastValueIndex",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2170,
"name": "list",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "ArrayLike",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
},
{
"id": 2171,
"name": "offset",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 47,
"character": 27
}
]
},
{
"id": 2163,
"name": "findNextValueIndex",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2164,
"name": "findNextValueIndex",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Finds the index of the next value in a sparse array-like object",
"returns": "the offset of the next index with a value; or -1 if not found\n"
},
"typeParameter": [
{
"id": 2165,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2166,
"name": "list",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "the sparse array-like object"
},
"type": {
"type": "reference",
"name": "ArrayLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
},
{
"id": 2167,
"name": "offset",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "the starting offset"
},
"type": {
"type": "intrinsic",
"name": "number"
},
"defaultValue": " -1"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 37,
"character": 27
}
]
},
{
"id": 2172,
"name": "generalReduce",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2173,
"name": "generalReduce",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 2174,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 2175,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2176,
"name": "findNextIndex",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 2177,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2178,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2179,
"name": "list",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "ArrayLike",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
},
{
"id": 2180,
"name": "offset",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 58,
"character": 15
}
]
}
}
},
{
"id": 2181,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
},
{
"id": 2182,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Reducer",
"id": 2139,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "U"
}
]
}
},
{
"id": 2183,
"name": "initialValue",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "U",
"id": 2175
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "U"
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 57,
"character": 22
}
]
},
{
"id": 2147,
"name": "isThenable",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2148,
"name": "isThenable",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 2149,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2150,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 6,
"character": 19
}
]
},
{
"id": 2210,
"name": "map",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2211,
"name": "map",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "transform a list of items using a mapper function",
"returns": "a promise eventually containing a collection of each transformed value\n"
},
"typeParameter": [
{
"id": 2212,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 2213,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2214,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a collection of synchronous/asynchronous values"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
},
{
"id": 2215,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a synchronous/asynchronous transform function"
},
"type": {
"type": "reference",
"name": "Mapper",
"id": 2132,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "U"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "U"
}
},
{
"type": "intrinsic",
"name": "null"
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 218,
"character": 19
}
]
},
{
"id": 2157,
"name": "processValuesAndCallback",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2158,
"name": "processValuesAndCallback",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Processes all items and then applies the callback to each item and eventually returns an object containing the\nprocessed values and callback results",
"returns": "a list of objects holding the synchronous values and synchronous results.\n"
},
"typeParameter": [
{
"id": 2159,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 2160,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2161,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a list of synchronous/asynchronous values to process"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
},
{
"id": 2162,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a callback that maps values to synchronous/asynchronous results"
},
"type": {
"type": "reference",
"name": "Mapper",
"id": 2132,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "U"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "reference",
"name": "ValuesAndResults",
"id": 2151,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "U"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 19,
"character": 33
}
]
},
{
"id": 2216,
"name": "reduce",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2217,
"name": "reduce",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "reduce a list of items down to a single value",
"returns": "a promise eventually containing a value that is the result of the reduction\n"
},
"typeParameter": [
{
"id": 2218,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 2219,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2220,
"name": "this",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 2221,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a collection of synchronous/asynchronous values"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
},
{
"id": 2222,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "a synchronous/asynchronous reducer function"
},
"type": {
"type": "reference",
"name": "Reducer",
"id": 2139,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "U"
}
]
}
},
{
"id": 2223,
"name": "initialValue",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "U",
"id": 2219
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "U"
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 234,
"character": 22
}
]
},
{
"id": 2224,
"name": "reduceRight",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2225,
"name": "reduceRight",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 2226,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 2227,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2228,
"name": "this",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 2229,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
},
{
"id": 2230,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Reducer",
"id": 2139,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "U"
}
]
}
},
{
"id": 2231,
"name": "initialValue",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "U",
"id": 2227
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "U"
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 245,
"character": 27
}
]
},
{
"id": 2232,
"name": "series",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2233,
"name": "series",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 2234,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 2235,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2236,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
},
{
"id": 2237,
"name": "operation",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Mapper",
"id": 2132,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "U"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "U"
}
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 256,
"character": 22
}
]
},
{
"id": 2238,
"name": "some",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2239,
"name": "some",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 2240,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2241,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "reference",
"name": "Array",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
}
]
}
},
{
"id": 2242,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Filterer",
"id": 2126,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "boolean"
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 280,
"character": 20
}
]
},
{
"id": 2184,
"name": "testAndHaltOnCondition",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2185,
"name": "testAndHaltOnCondition",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 2186,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2187,
"name": "condition",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 2188,
"name": "items",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
},
{
"id": 2189,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Filterer",
"id": 2126,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "boolean"
}
]
}
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 107,
"character": 31
}
]
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
2126,
2132,
2139
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
2151
]
},
{
"title": "Functions",
"kind": 64,
"children": [
2190,
2195,
2200,
2205,
2168,
2163,
2172,
2147,
2210,
2157,
2216,
2224,
2232,
2238,
2184
]
}
],
"sources": [
{
"fileName": "async/iteration.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 2243,
"name": "\"async/timing\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/async/timing.ts",
"children": [
{
"id": 2248,
"name": "DelayedRejection",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A Promise that will reject itself automatically after a time.\nUseful for combining with other promises in Promise.race."
},
"children": [
{
"id": 2249,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {},
"signatures": [
{
"id": 2250,
"name": "new DelayedRejection",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"comment": {},
"parameters": [
{
"id": 2251,
"name": "milliseconds",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "the number of milliseconds to wait before triggering a rejection"
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2252,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "the reason for the rejection\n"
},
"type": {
"type": "reference",
"name": "Error"
}
}
],
"type": {
"type": "reference",
"name": "DelayedRejection",
"id": 2248
},
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.__constructor",
"id": 1391
}
}
],
"sources": [
{
"fileName": "async/timing.ts",
"line": 49,
"character": 52
}
],
"overwrites": {
"type": "reference",
"name": "ExtensiblePromise.__constructor",
"id": 1391
}
},
{
"id": 2304,
"name": "__@toStringTag",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 246,
"character": 30
}
],
"type": {
"type": "stringLiteral",
"value": "Promise"
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.[Symbol.toStringTag]",
"id": 1413
}
},
{
"id": 2284,
"name": "_promise",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"tags": [
{
"tag": "type",
"text": "{Promise}\nThe wrapped promise\n"
}
]
},
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 180,
"character": 18
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise._promise",
"id": 1390
}
},
{
"id": 2285,
"name": "catch",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2286,
"name": "catch",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Adds a callback to be invoked when the wrapped Promise is rejected.",
"returns": "\n"
},
"typeParameter": [
{
"id": 2287,
"name": "TResult",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2288,
"name": "onRejected",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "A function to call to handle the error. The parameter to the function will be the caught error.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 2289,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2290,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2291,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 206,
"character": 14
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "any"
},
{
"type": "typeParameter",
"name": "TResult"
}
]
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.catch",
"id": 1394
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 205,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.catch",
"id": 1394
}
},
{
"id": 2292,
"name": "then",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2293,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Adds a callback to be invoked when the wrapped Promise resolves or is rejected.",
"returns": "\n"
},
"typeParameter": [
{
"id": 2294,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 2295,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2296,
"name": "onFulfilled",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "A function to call to handle the resolution. The paramter to the function will be the resolved value, if any."
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 2297,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2298,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2299,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult1"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 220,
"character": 15
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 2300,
"name": "onRejected",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "A function to call to handle the error. The parameter to the function will be the caught error.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 2301,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2302,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2303,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult2"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult2"
}
]
},
{
"type": "intrinsic",
"name": "void"
}
]
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 221,
"character": 14
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1"
},
{
"type": "typeParameter",
"name": "TResult2"
}
]
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.then",
"id": 1401
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 219,
"character": 5
}
],
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.then",
"id": 1401
}
},
{
"id": 2264,
"name": "all",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"signatures": [
{
"id": 2265,
"name": "all",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"typeParameter": [
{
"id": 2266,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2267,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An iterable of values to resolve, or a key/value pair of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "reference",
"name": "DictionaryOfPromises",
"id": 1417,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "reflection",
"declaration": {
"id": 2268,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 2269,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2270,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 88,
"character": 69
}
]
}
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.all",
"id": 1370
}
},
{
"id": 2271,
"name": "all",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"typeParameter": [
{
"id": 2272,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2273,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An iterable of values to resolve, or a key/value pair of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.all",
"id": 1370
}
},
{
"id": 2274,
"name": "all",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"typeParameter": [
{
"id": 2275,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2276,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An iterable of values to resolve, or a key/value pair of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Thenable",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.all",
"id": 1370
}
},
{
"id": 2277,
"name": "all",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when all of the passed in objects have resolved. When used with a key/value\npair, the returned promise's argument is a key/value pair of the original keys with their resolved values.",
"returns": "An extensible promise\n",
"tags": [
{
"tag": "example",
"text": "\nExtensiblePromise.all({ one: 1, two: 2 }).then(results => console.log(results));\n// { one: 1, two: 2 }\n"
}
]
},
"typeParameter": [
{
"id": 2278,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2279,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An iterable of values to resolve, or a key/value pair of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "reference",
"name": "ListOfPromises",
"id": 1422,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.all",
"id": 1370
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 88,
"character": 11
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 101,
"character": 11
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 114,
"character": 11
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 127,
"character": 11
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 140,
"character": 11
}
],
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.all",
"id": 1370
}
},
{
"id": 2280,
"name": "race",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2281,
"name": "race",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a ExtensiblePromise that resolves when one of the passed in objects have resolved",
"returns": "\n"
},
"typeParameter": [
{
"id": 2282,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2283,
"name": "iterable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "An iterable of values to resolve. These can be Promises, ExtensiblePromises, or other objects"
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Iterable",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
]
},
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "unknown",
"name": "T"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "unknown",
"name": "T"
}
]
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.race",
"id": 1386
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 170,
"character": 12
}
],
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.race",
"id": 1386
}
},
{
"id": 2253,
"name": "reject",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Return a rejected promise wrapped in an ExtensiblePromise",
"returns": "An extensible promise\n"
},
"signatures": [
{
"id": 2254,
"name": "reject",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a rejected promise wrapped in an ExtensiblePromise",
"returns": "An extensible promise\n"
},
"typeParameter": [
{
"id": 2255,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2256,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "The reason for the rejection"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "intrinsic",
"name": "never"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.reject",
"id": 1359
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 44,
"character": 14
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 52,
"character": 14
}
],
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.reject",
"id": 1359
}
},
{
"id": 2257,
"name": "resolve",
"kind": 2048,
"kindString": "Method",
"flags": {
"isStatic": true,
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2258,
"name": "resolve",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a resolved promise wrapped in an ExtensiblePromise",
"returns": "An extensible promise\n"
},
"typeParameter": [
{
"id": 2259,
"name": "P",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
]
}
}
],
"type": {
"type": "typeParameter",
"name": "P",
"constraint": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.resolve",
"id": 1363
}
},
{
"id": 2260,
"name": "resolve",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return a resolved promise wrapped in an ExtensiblePromise",
"returns": "An extensible promise\n"
},
"typeParameter": [
{
"id": 2261,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 2262,
"name": "P",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
}
],
"parameters": [
{
"id": 2263,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to resolve the promise with\n"
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "PromiseLike",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"type": {
"type": "typeParameter",
"name": "P",
"constraint": {
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
},
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.resolve",
"id": 1363
}
}
],
"sources": [
{
"fileName": "async/ExtensiblePromise.ts",
"line": 63,
"character": 15
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 72,
"character": 15
},
{
"fileName": "async/ExtensiblePromise.ts",
"line": 73,
"character": 15
}
],
"inheritedFrom": {
"type": "reference",
"name": "ExtensiblePromise.resolve",
"id": 1363
}
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
2249
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
2304,
2284
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
2285,
2292,
2264,
2280,
2253,
2257
]
}
],
"sources": [
{
"fileName": "async/timing.ts",
"line": 49,
"character": 29
}
],
"extendedTypes": [
{
"type": "reference",
"name": "ExtensiblePromise",
"id": 1357,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
]
},
{
"id": 2244,
"name": "Identity",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 2245,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"signatures": [
{
"id": 2246,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2247,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "IdentityValue",
"id": 2305,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "async/timing.ts",
"line": 5,
"character": 25
}
]
},
{
"id": 2305,
"name": "IdentityValue",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 2306,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"sources": [
{
"fileName": "async/timing.ts",
"line": 4,
"character": 25
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reflection",
"declaration": {
"id": 2307,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2308,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "Thenable",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "async/timing.ts",
"line": 4,
"character": 34
}
]
}
}
]
}
},
{
"id": 2309,
"name": "delay",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2310,
"name": "delay",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Used for delaying a Promise chain for a specific number of milliseconds.",
"returns": "a function producing a promise that eventually returns the value or executes the value function passed to it; usable with Thenable.then()\n"
},
"typeParameter": [
{
"id": 2311,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2312,
"name": "milliseconds",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "the number of milliseconds to delay"
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "reference",
"name": "Identity",
"id": 2244,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "async/timing.ts",
"line": 15,
"character": 21
}
]
},
{
"id": 2313,
"name": "timeout",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2314,
"name": "timeout",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Reject a promise chain if a result hasn't been found before the timeout",
"returns": "a function that produces a promise that is rejected or resolved based on your timeout\n"
},
"typeParameter": [
{
"id": 2315,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 2316,
"name": "milliseconds",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "after this number of milliseconds a rejection will be returned"
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2317,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The reason for the rejection"
},
"type": {
"type": "reference",
"name": "Error"
}
}
],
"type": {
"type": "reference",
"name": "Identity",
"id": 2244,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "async/timing.ts",
"line": 32,
"character": 23
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
2248
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
2244
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
2305
]
},
{
"title": "Functions",
"kind": 64,
"children": [
2309,
2313
]
}
],
"sources": [
{
"fileName": "async/timing.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 626,
"name": "\"base64\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/base64.ts",
"children": [
{
"id": 627,
"name": "decode",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true,
"isConst": true,
"__visited__": true
},
"comment": {
"shortText": "Take a string encoded in base64 and decode it",
"tags": [
{
"tag": "param",
"text": "The base64 encoded string\n",
"param": "encodedString"
}
]
},
"sources": [
{
"fileName": "base64.ts",
"line": 11,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 628,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 629,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 630,
"name": "encodedString",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "base64.ts",
"line": 11,
"character": 20
}
]
}
},
"defaultValue": " has('atob')\n\t? function(encodedString: string) {\n\t\t\t/* this allows for utf8 characters to be decoded properly */\n\t\t\treturn decodeURIComponent(\n\t\t\t\tArray.prototype.map\n\t\t\t\t\t.call(\n\t\t\t\t\t\tatob(encodedString),\n\t\t\t\t\t\t(char: string) => '%' + ('00' + char.charCodeAt(0).toString(16)).slice(-2)\n\t\t\t\t\t)\n\t\t\t\t\t.join('')\n\t\t\t);\n\t\t}\n\t: function(encodedString: string): string {\n\t\t\treturn new Buffer(encodedString.toString(), 'base64').toString('utf8');\n\t\t}"
},
{
"id": 631,
"name": "encode",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true,
"isConst": true,
"__visited__": true
},
"comment": {
"shortText": "Take a string and encode it to base64",
"tags": [
{
"tag": "param",
"text": "The string to encode\n",
"param": "rawString"
}
]
},
"sources": [
{
"fileName": "base64.ts",
"line": 31,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 632,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 633,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 634,
"name": "rawString",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "base64.ts",
"line": 31,
"character": 20
}
]
}
},
"defaultValue": " has('btoa')\n\t? function(decodedString: string) {\n\t\t\t/* this allows for utf8 characters to be encoded properly */\n\t\t\treturn btoa(\n\t\t\t\tencodeURIComponent(decodedString).replace(/%([0-9A-F]{2})/g, (match, code: string) =>\n\t\t\t\t\tString.fromCharCode(Number('0x' + code))\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t: function(rawString: string): string {\n\t\t\treturn new Buffer(rawString.toString(), 'utf8').toString('base64');\n\t\t}"
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
627,
631
]
}
],
"sources": [
{
"fileName": "base64.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 635,
"name": "\"compare\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/compare.ts",
"children": [
{
"id": 675,
"name": "CustomDiff",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A class which is used when making a custom comparison of a non-plain object or array"
},
"typeParameter": [
{
"id": 676,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 677,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 678,
"name": "new CustomDiff",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 679,
"name": "diff",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "CustomDiffFunction",
"id": 731,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "CustomDiff",
"id": 675
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 278,
"character": 40
}
]
},
{
"id": 680,
"name": "diff",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 681,
"name": "diff",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Get the difference of the `value`"
},
"parameters": [
{
"id": 682,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to diff"
},
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 683,
"name": "nameOrIndex",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "A `string` if comparing a property or a `number` if comparing an array element"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 684,
"name": "parent",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The outer parent that this value is part of\n"
},
"type": {
"type": "intrinsic",
"name": "object"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "intrinsic",
"name": "void"
}
]
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 290,
"character": 5
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
677
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
680
]
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 277,
"character": 23
}
]
},
{
"id": 649,
"name": "AnonymousConstructRecord",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A record that describes a constructor function and arguments necessary to create an instance of\nan object"
},
"children": [
{
"id": 651,
"name": "Ctor",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The constructor function to use to create the instance"
},
"sources": [
{
"fileName": "compare.ts",
"line": 82,
"character": 5
}
],
"type": {
"type": "reference",
"name": "Constructor",
"id": 640
}
},
{
"id": 650,
"name": "args",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Any arguments to pass to the constructor function"
},
"sources": [
{
"fileName": "compare.ts",
"line": 77,
"character": 5
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
},
{
"id": 652,
"name": "descriptor",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "The partial descriptor that is used to set the value of the instance"
},
"sources": [
{
"fileName": "compare.ts",
"line": 87,
"character": 11
}
],
"type": {
"type": "reference",
"name": "ConstructDescriptor",
"id": 645
}
},
{
"id": 653,
"name": "propertyRecords",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Any patches to properties that need to occur on the instance"
},
"sources": [
{
"fileName": "compare.ts",
"line": 92,
"character": 16
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reflection",
"declaration": {
"id": 654,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 655,
"name": "descriptor",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A property descriptor that describes the property in `name`"
},
"sources": [
{
"fileName": "compare.ts",
"line": 122,
"character": 13
}
],
"type": {
"type": "reference",
"name": "PropertyDescriptor"
}
},
{
"id": 656,
"name": "name",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The name of the property on the Object"
},
"sources": [
{
"fileName": "compare.ts",
"line": 127,
"character": 7
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 657,
"name": "type",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The type of the patch"
},
"sources": [
{
"fileName": "compare.ts",
"line": 132,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "add"
},
{
"type": "stringLiteral",
"value": "update"
},
{
"type": "stringLiteral",
"value": "delete"
}
]
}
},
{
"id": 658,
"name": "valueRecords",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Additional patch records which describe the value of the property"
},
"sources": [
{
"fileName": "compare.ts",
"line": 137,
"character": 15
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reference",
"name": "PatchRecord",
"id": 697
},
{
"type": "reference",
"name": "SpliceRecord",
"id": 670
}
]
}
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
655,
656,
657,
658
]
}
]
}
}
]
}
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
651,
650,
652,
653
]
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 73,
"character": 41
}
],
"extendedBy": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
}
]
},
{
"id": 645,
"name": "ConstructDescriptor",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A partial property descriptor that provides the property descriptor flags supported by the\ncomplex property construction of `patch()`",
"text": "All properties are value properties, with the value being supplied by the `ConstructRecord`\n"
},
"children": [
{
"id": 646,
"name": "configurable",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Is the property configurable?"
},
"sources": [
{
"fileName": "compare.ts",
"line": 56,
"character": 13
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 647,
"name": "enumerable",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Is the property enumerable?"
},
"sources": [
{
"fileName": "compare.ts",
"line": 61,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 648,
"name": "writable",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Is the property configurable?"
},
"sources": [
{
"fileName": "compare.ts",
"line": 66,
"character": 9
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
646,
647,
648
]
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 52,
"character": 36
}
]
},
{
"id": 659,
"name": "ConstructRecord",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 662,
"name": "Ctor",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The constructor function to use to create the instance"
},
"sources": [
{
"fileName": "compare.ts",
"line": 82,
"character": 5
}
],
"type": {
"type": "reference",
"name": "Constructor",
"id": 640
},
"inheritedFrom": {
"type": "reference",
"name": "AnonymousConstructRecord.Ctor",
"id": 651
}
},
{
"id": 661,
"name": "args",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Any arguments to pass to the constructor function"
},
"sources": [
{
"fileName": "compare.ts",
"line": 77,
"character": 5
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
},
"inheritedFrom": {
"type": "reference",
"name": "AnonymousConstructRecord.args",
"id": 650
}
},
{
"id": 663,
"name": "descriptor",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "The partial descriptor that is used to set the value of the instance"
},
"sources": [
{
"fileName": "compare.ts",
"line": 87,
"character": 11
}
],
"type": {
"type": "reference",
"name": "ConstructDescriptor",
"id": 645
},
"inheritedFrom": {
"type": "reference",
"name": "AnonymousConstructRecord.descriptor",
"id": 652
}
},
{
"id": 660,
"name": "name",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The name of the property on the Object"
},
"sources": [
{
"fileName": "compare.ts",
"line": 99,
"character": 5
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 664,
"name": "propertyRecords",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Any patches to properties that need to occur on the instance"
},
"sources": [
{
"fileName": "compare.ts",
"line": 92,
"character": 16
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reflection",
"declaration": {
"id": 665,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 666,
"name": "descriptor",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A property descriptor that describes the property in `name`"
},
"sources": [
{
"fileName": "compare.ts",
"line": 122,
"character": 13
}
],
"type": {
"type": "reference",
"name": "PropertyDescriptor"
}
},
{
"id": 667,
"name": "name",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The name of the property on the Object"
},
"sources": [
{
"fileName": "compare.ts",
"line": 127,
"character": 7
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 668,
"name": "type",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The type of the patch"
},
"sources": [
{
"fileName": "compare.ts",
"line": 132,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "add"
},
{
"type": "stringLiteral",
"value": "update"
},
{
"type": "stringLiteral",
"value": "delete"
}
]
}
},
{
"id": 669,
"name": "valueRecords",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Additional patch records which describe the value of the property"
},
"sources": [
{
"fileName": "compare.ts",
"line": 137,
"character": 15
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reference",
"name": "PatchRecord",
"id": 697
},
{
"type": "reference",
"name": "SpliceRecord",
"id": 670
}
]
}
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
666,
667,
668,
669
]
}
]
}
}
]
}
},
"inheritedFrom": {
"type": "reference",
"name": "AnonymousConstructRecord.propertyRecords",
"id": 653
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
662,
661,
663,
660,
664
]
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 95,
"character": 32
}
],
"extendedTypes": [
{
"type": "reference",
"name": "AnonymousConstructRecord",
"id": 649
}
]
},
{
"id": 640,
"name": "Constructor",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Interface for a generic constructor function"
},
"children": [
{
"id": 641,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 642,
"name": "new Constructor",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 643,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 41,
"character": 30
}
]
},
{
"id": 644,
"name": "prototype",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 43,
"character": 10
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
641
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
644
]
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 41,
"character": 28
}
]
},
{
"id": 636,
"name": "DiffOptions",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 637,
"name": "allowFunctionValues",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Allow functions to be values. Values will be considered equal if the `typeof` both values are `function`.\nWhen adding or updating the property, the value of the property of `a` will be used in the record, which\nwill be a reference to the function."
},
"sources": [
{
"fileName": "compare.ts",
"line": 22,
"character": 20
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 638,
"name": "ignoreProperties",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "An array of strings or regular expressions which flag certain properties to be ignored. Alternatively\na function, which returns `true` to have the property ignored or `false` to diff the property."
},
"sources": [
{
"fileName": "compare.ts",
"line": 28,
"character": 17
}
],
"type": {
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"name": "RegExp"
}
]
}
},
{
"type": "reference",
"name": "IgnorePropertyFunction",
"id": 691
}
]
}
},
{
"id": 639,
"name": "ignorePropertyValues",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "An array of strings or regular expressions which flag certain values to be ignored. For flagged properties,\nif the property is present in both `a` and `b` the value will be ignored. If adding the property,\nwhatever the value of the property of `a` will be used, which could be a reference."
},
"sources": [
{
"fileName": "compare.ts",
"line": 35,
"character": 21
}
],
"type": {
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"name": "RegExp"
}
]
}
},
{
"type": "reference",
"name": "IgnorePropertyFunction",
"id": 691
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
637,
638,
639
]
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 16,
"character": 28
}
]
},
{
"id": 670,
"name": "SpliceRecord",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A record that describes a splice operation to perform on an array to make the array look like another array"
},
"children": [
{
"id": 671,
"name": "add",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Any items that are being added to the array"
},
"sources": [
{
"fileName": "compare.ts",
"line": 152,
"character": 4
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
},
{
"id": 672,
"name": "deleteCount",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The number of items in the array to delete"
},
"sources": [
{
"fileName": "compare.ts",
"line": 157,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 674,
"name": "start",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The index of where to start the splice"
},
"sources": [
{
"fileName": "compare.ts",
"line": 167,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 673,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The type, set to `splice`"
},
"sources": [
{
"fileName": "compare.ts",
"line": 162,
"character": 5
}
],
"type": {
"type": "stringLiteral",
"value": "splice"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
671,
672,
674,
673
]
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 148,
"character": 29
}
]
},
{
"id": 731,
"name": "CustomDiffFunction",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A function that returns a constructor record or `undefined` when diffing a value"
},
"typeParameter": [
{
"id": 732,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 268,
"character": 30
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 733,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 734,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 735,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 736,
"name": "nameOrIndex",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 737,
"name": "parent",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "object"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "AnonymousConstructRecord",
"id": 649
},
{
"type": "intrinsic",
"name": "void"
}
]
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 268,
"character": 35
}
]
}
}
},
{
"id": 691,
"name": "IgnorePropertyFunction",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 14,
"character": 34
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 692,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 693,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 694,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 695,
"name": "a",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 696,
"name": "b",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 14,
"character": 36
}
]
}
}
},
{
"id": 697,
"name": "PatchRecord",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A record that describes the mutations necessary to a property of an object to make that property look\nlike another"
},
"sources": [
{
"fileName": "compare.ts",
"line": 106,
"character": 23
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 698,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 699,
"name": "descriptor",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A property descriptor that describes the property in `name`"
},
"sources": [
{
"fileName": "compare.ts",
"line": 122,
"character": 13
}
],
"type": {
"type": "reference",
"name": "PropertyDescriptor"
}
},
{
"id": 700,
"name": "name",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The name of the property on the Object"
},
"sources": [
{
"fileName": "compare.ts",
"line": 127,
"character": 7
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 701,
"name": "type",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The type of the patch"
},
"sources": [
{
"fileName": "compare.ts",
"line": 132,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "add"
},
{
"type": "stringLiteral",
"value": "update"
},
{
"type": "stringLiteral",
"value": "delete"
}
]
}
},
{
"id": 702,
"name": "valueRecords",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Additional patch records which describe the value of the property"
},
"sources": [
{
"fileName": "compare.ts",
"line": 137,
"character": 15
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reference",
"name": "PatchRecord",
"id": 697
},
{
"type": "reference",
"name": "SpliceRecord",
"id": 670
}
]
}
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
699,
700,
701,
702
]
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 106,
"character": 25
}
]
}
}
},
{
"id": 703,
"name": "PatchTypes",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The different types of patch records supported"
},
"sources": [
{
"fileName": "compare.ts",
"line": 143,
"character": 22
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "add"
},
{
"type": "stringLiteral",
"value": "update"
},
{
"type": "stringLiteral",
"value": "delete"
}
]
}
},
{
"id": 687,
"name": "defineProperty",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 9,
"character": 20
}
],
"type": {
"type": "reference",
"name": "defineProperty"
},
"defaultValue": " Object.defineProperty"
},
{
"id": 686,
"name": "hasOwnProperty",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 8,
"character": 20
}
],
"type": {
"type": "reference",
"name": "hasOwnProperty"
},
"defaultValue": " Object.prototype.hasOwnProperty"
},
{
"id": 688,
"name": "isArray",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 10,
"character": 13
}
],
"type": {
"type": "reference",
"name": "isArray"
},
"defaultValue": " Array.isArray"
},
{
"id": 689,
"name": "isFrozen",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 11,
"character": 14
}
],
"type": {
"type": "reference",
"name": "isFrozen"
},
"defaultValue": " Object.isFrozen"
},
{
"id": 690,
"name": "isSealed",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 12,
"character": 14
}
],
"type": {
"type": "reference",
"name": "isSealed"
},
"defaultValue": " Object.isSealed"
},
{
"id": 685,
"name": "objectCreate",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 7,
"character": 18
}
],
"type": {
"type": "reference",
"name": "create"
},
"defaultValue": " Object.create"
},
{
"id": 704,
"name": "createConstructRecord",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 705,
"name": "createConstructRecord",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A record that describes how to instantiate a new object via a constructor function"
},
"parameters": [
{
"id": 706,
"name": "Ctor",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The constructor function"
},
"type": {
"type": "reference",
"name": "Constructor",
"id": 640
}
},
{
"id": 707,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "Any arguments to be passed to the constructor function\n"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
},
{
"id": 708,
"name": "descriptor",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "ConstructDescriptor",
"id": 645
}
}
],
"type": {
"type": "reference",
"name": "AnonymousConstructRecord",
"id": 649
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 176,
"character": 37
}
]
},
{
"id": 709,
"name": "createPatchRecord",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 710,
"name": "createPatchRecord",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An internal function that returns a new patch record"
},
"parameters": [
{
"id": 711,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The type of patch record"
},
"type": {
"type": "reference",
"name": "PatchTypes",
"id": 703
}
},
{
"id": 712,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The property name the record refers to"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 713,
"name": "descriptor",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "The property descriptor to be installed on the object"
},
"type": {
"type": "reference",
"name": "PropertyDescriptor"
}
},
{
"id": 714,
"name": "valueRecords",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "Any subsequenet patch recrds to be applied to the value of the descriptor\n"
},
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reflection",
"declaration": {
"id": 715,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 716,
"name": "descriptor",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A property descriptor that describes the property in `name`"
},
"sources": [
{
"fileName": "compare.ts",
"line": 122,
"character": 13
}
],
"type": {
"type": "reference",
"name": "PropertyDescriptor"
}
},
{
"id": 717,
"name": "name",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The name of the property on the Object"
},
"sources": [
{
"fileName": "compare.ts",
"line": 127,
"character": 7
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 718,
"name": "type",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The type of the patch"
},
"sources": [
{
"fileName": "compare.ts",
"line": 132,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "add"
},
{
"type": "stringLiteral",
"value": "update"
},
{
"type": "stringLiteral",
"value": "delete"
}
]
}
},
{
"id": 719,
"name": "valueRecords",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Additional patch records which describe the value of the property"
},
"sources": [
{
"fileName": "compare.ts",
"line": 137,
"character": 15
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reference",
"name": "PatchRecord",
"id": 697
},
{
"type": "reference",
"name": "SpliceRecord",
"id": 670
}
]
}
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
716,
717,
718,
719
]
}
]
}
},
{
"type": "reference",
"name": "SpliceRecord",
"id": 670
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "PatchRecord",
"id": 697
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 200,
"character": 26
}
]
},
{
"id": 720,
"name": "createSpliceRecord",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 721,
"name": "createSpliceRecord",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An internal function that returns a new splice record"
},
"parameters": [
{
"id": 722,
"name": "start",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Where in the array to start the splice"
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 723,
"name": "deleteCount",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The number of elements to delete from the array"
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 724,
"name": "add",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "Elements to be added to the target\n"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "reference",
"name": "SpliceRecord",
"id": 670
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 228,
"character": 27
}
]
},
{
"id": 725,
"name": "createValuePropertyDescriptor",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 726,
"name": "createValuePropertyDescriptor",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A function that produces a value property descriptor, which assumes that properties are enumerable, writable and configurable\nunless specified"
},
"parameters": [
{
"id": 727,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value for the descriptor"
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 728,
"name": "writable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Defaults to `true` if not specified"
},
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "true"
},
{
"id": 729,
"name": "enumerable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Defaults to `true` if not specified"
},
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "true"
},
{
"id": 730,
"name": "configurable",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Defaults to `true` if not specified\n"
},
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "true"
}
],
"type": {
"type": "reference",
"name": "PropertyDescriptor"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 251,
"character": 38
}
]
},
{
"id": 823,
"name": "diff",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 824,
"name": "diff",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Compares two plain objects or arrays and return a set of records which describe the differences between the two",
"text": "The records describe what would need to be applied to the second argument to make it look like the first argument\n"
},
"parameters": [
{
"id": 825,
"name": "a",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The plain object or array to compare with"
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 826,
"name": "b",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The plain object or array to compare to"
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 827,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "An options bag that allows configuration of the behaviour of `diff()`\n"
},
"type": {
"type": "reference",
"name": "DiffOptions",
"id": 636
},
"defaultValue": " {}"
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reflection",
"declaration": {
"id": 828,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 829,
"name": "descriptor",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A property descriptor that describes the property in `name`"
},
"sources": [
{
"fileName": "compare.ts",
"line": 122,
"character": 13
}
],
"type": {
"type": "reference",
"name": "PropertyDescriptor"
}
},
{
"id": 830,
"name": "name",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The name of the property on the Object"
},
"sources": [
{
"fileName": "compare.ts",
"line": 127,
"character": 7
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 831,
"name": "type",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The type of the patch"
},
"sources": [
{
"fileName": "compare.ts",
"line": 132,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "add"
},
{
"type": "stringLiteral",
"value": "update"
},
{
"type": "stringLiteral",
"value": "delete"
}
]
}
},
{
"id": 832,
"name": "valueRecords",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Additional patch records which describe the value of the property"
},
"sources": [
{
"fileName": "compare.ts",
"line": 137,
"character": 15
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reference",
"name": "PatchRecord",
"id": 697
},
{
"type": "reference",
"name": "SpliceRecord",
"id": 670
}
]
}
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
829,
830,
831,
832
]
}
]
}
},
{
"type": "reference",
"name": "SpliceRecord",
"id": 670
}
]
}
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 712,
"character": 20
}
]
},
{
"id": 738,
"name": "diffArray",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 739,
"name": "diffArray",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Internal function that detects the differences between an array and another value and returns a set of splice records that\ndescribe the differences"
},
"parameters": [
{
"id": 740,
"name": "a",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The first array to compare to"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
},
{
"id": 741,
"name": "b",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The second value to compare to"
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 742,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "An options bag that allows configuration of the behaviour of `diffArray()`\n"
},
"type": {
"type": "reference",
"name": "DiffOptions",
"id": 636
}
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"name": "SpliceRecord",
"id": 670
}
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 306,
"character": 18
}
]
},
{
"id": 743,
"name": "diffPlainObject",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 744,
"name": "diffPlainObject",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Internal function that detects the differences between plain objects and returns a set of patch records that\ndescribe the differences"
},
"parameters": [
{
"id": 745,
"name": "a",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The first plain object to compare to"
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 746,
"name": "b",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The second plain bject to compare to"
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 747,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "An options bag that allows configuration of the behaviour of `diffPlainObject()`\n"
},
"type": {
"type": "reference",
"name": "DiffOptions",
"id": 636
}
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reflection",
"declaration": {
"id": 748,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 749,
"name": "descriptor",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A property descriptor that describes the property in `name`"
},
"sources": [
{
"fileName": "compare.ts",
"line": 122,
"character": 13
}
],
"type": {
"type": "reference",
"name": "PropertyDescriptor"
}
},
{
"id": 750,
"name": "name",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The name of the property on the Object"
},
"sources": [
{
"fileName": "compare.ts",
"line": 127,
"character": 7
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 751,
"name": "type",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The type of the patch"
},
"sources": [
{
"fileName": "compare.ts",
"line": 132,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "add"
},
{
"type": "stringLiteral",
"value": "update"
},
{
"type": "stringLiteral",
"value": "delete"
}
]
}
},
{
"id": 752,
"name": "valueRecords",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Additional patch records which describe the value of the property"
},
"sources": [
{
"fileName": "compare.ts",
"line": 137,
"character": 15
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reference",
"name": "PatchRecord",
"id": 697
},
{
"type": "reference",
"name": "SpliceRecord",
"id": 670
}
]
}
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
749,
750,
751,
752
]
}
]
}
}
]
}
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 411,
"character": 24
}
]
},
{
"id": 753,
"name": "getComparableObjects",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 754,
"name": "getComparableObjects",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Takes two plain objects to be compared, as well as options customizing the behavior of the comparison, and returns\ntwo new objects that contain only those properties that should be compared. If a property is ignored\nit will not be included in either returned object. If a property's value should be ignored it will be excluded\nif it is present in both objects."
},
"parameters": [
{
"id": 755,
"name": "a",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The first object to compare"
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 756,
"name": "b",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The second object to compare"
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 757,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "An options bag indicating which properties should be ignored or have their values ignored, if any.\n"
},
"type": {
"type": "reference",
"name": "DiffOptions",
"id": 636
}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 758,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 759,
"name": "comparableA",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 541,
"character": 21
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 760,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 761,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 762,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
]
}
}
},
{
"id": 763,
"name": "comparableB",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 541,
"character": 34
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 764,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 765,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 766,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
]
}
}
},
{
"id": 767,
"name": "ignore",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 541,
"character": 42
}
],
"type": {
"type": "reference",
"name": "Set",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
759,
763,
767
]
}
]
}
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 499,
"character": 36
}
]
},
{
"id": 768,
"name": "isConstructRecord",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 769,
"name": "isConstructRecord",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A guard that determines if the value is a `ConstructRecord`"
},
"parameters": [
{
"id": 770,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to check\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 548,
"character": 26
}
]
},
{
"id": 789,
"name": "isCustomDiff",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 790,
"name": "isCustomDiff",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A guard that determines if the value is a `CustomDiff`"
},
"typeParameter": [
{
"id": 791,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 792,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to check\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 616,
"character": 21
}
]
},
{
"id": 771,
"name": "isIgnoredPropertyValue",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 772,
"name": "isIgnoredPropertyValue",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 773,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 774,
"name": "a",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 775,
"name": "b",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 776,
"name": "ignoredPropertyValues",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"name": "RegExp"
}
]
}
},
{
"type": "reference",
"name": "IgnorePropertyFunction",
"id": 691
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 552,
"character": 31
}
]
},
{
"id": 777,
"name": "isPatchRecord",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 778,
"name": "isPatchRecord",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A guard that determines if the value is a `PatchRecord`"
},
"parameters": [
{
"id": 779,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to check\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 570,
"character": 22
}
]
},
{
"id": 780,
"name": "isPatchRecordArray",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 781,
"name": "isPatchRecordArray",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A guard that determines if the value is an array of `PatchRecord`s"
},
"parameters": [
{
"id": 782,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to check\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 579,
"character": 27
}
]
},
{
"id": 783,
"name": "isPlainObject",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 784,
"name": "isPlainObject",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A guard that determines if the value is a plain object. A plain object is an object that has\neither no constructor (e.g. `Object.create(null)`) or has Object as its constructor."
},
"parameters": [
{
"id": 785,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to check\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 589,
"character": 22
}
]
},
{
"id": 786,
"name": "isPrimitive",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 787,
"name": "isPrimitive",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A guard that determines if the value is a primitive (including `null`), as these values are\nfine to just copy."
},
"parameters": [
{
"id": 788,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to check\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 601,
"character": 20
}
]
},
{
"id": 793,
"name": "isSpliceRecord",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 794,
"name": "isSpliceRecord",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A guard that determines if the value is a `SpliceRecord`"
},
"parameters": [
{
"id": 795,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to check\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 625,
"character": 23
}
]
},
{
"id": 796,
"name": "isSpliceRecordArray",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 797,
"name": "isSpliceRecordArray",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A guard that determines if the value is an array of `SpliceRecord`s"
},
"parameters": [
{
"id": 798,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to check\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 634,
"character": 28
}
]
},
{
"id": 833,
"name": "patch",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 834,
"name": "patch",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Apply a set of patch records to a target."
},
"parameters": [
{
"id": 835,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The plain object or array that the patch records should be applied to"
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 836,
"name": "records",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "A set of patch records to be applied to the target\n"
},
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reflection",
"declaration": {
"id": 837,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 838,
"name": "descriptor",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A property descriptor that describes the property in `name`"
},
"sources": [
{
"fileName": "compare.ts",
"line": 122,
"character": 13
}
],
"type": {
"type": "reference",
"name": "PropertyDescriptor"
}
},
{
"id": 839,
"name": "name",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The name of the property on the Object"
},
"sources": [
{
"fileName": "compare.ts",
"line": 127,
"character": 7
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 840,
"name": "type",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The type of the patch"
},
"sources": [
{
"fileName": "compare.ts",
"line": 132,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "add"
},
{
"type": "stringLiteral",
"value": "update"
},
{
"type": "stringLiteral",
"value": "delete"
}
]
}
},
{
"id": 841,
"name": "valueRecords",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Additional patch records which describe the value of the property"
},
"sources": [
{
"fileName": "compare.ts",
"line": 137,
"character": 15
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "reference",
"name": "ConstructRecord",
"id": 659
},
{
"type": "reference",
"name": "PatchRecord",
"id": 697
},
{
"type": "reference",
"name": "SpliceRecord",
"id": 670
}
]
}
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
838,
839,
840,
841
]
}
]
}
},
{
"type": "reference",
"name": "SpliceRecord",
"id": 670
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 738,
"character": 21
}
]
},
{
"id": 815,
"name": "patchConstruct",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 816,
"name": "patchConstruct",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 817,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 818,
"name": "record",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "ConstructRecord",
"id": 659
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 675,
"character": 23
}
]
},
{
"id": 807,
"name": "patchPatch",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 808,
"name": "patchPatch",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An internal function that patches a target with a `PatchRecord`"
},
"parameters": [
{
"id": 809,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 810,
"name": "record",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "PatchRecord",
"id": 697
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 655,
"character": 19
}
]
},
{
"id": 799,
"name": "patchSplice",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 800,
"name": "patchSplice",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An internal function that patches a target with a `SpliceRecord`"
},
"parameters": [
{
"id": 801,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
},
{
"id": 802,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 803,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 804,
"name": "add",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 641,
"character": 41
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
]
}
},
{
"id": 805,
"name": "deleteCount",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 641,
"character": 54
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 806,
"name": "start",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 641,
"character": 61
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
804,
805,
806
]
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 641,
"character": 35
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 641,
"character": 20
}
]
},
{
"id": 819,
"name": "resolveTargetValue",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 820,
"name": "resolveTargetValue",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "An internal function that takes a value from array being patched and the target value from the same\nindex and determines the value that should actually be patched into the target array"
},
"parameters": [
{
"id": 821,
"name": "patchValue",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 822,
"name": "targetValue",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 691,
"character": 27
}
]
},
{
"id": 811,
"name": "defaultConstructDescriptor",
"kind": 2097152,
"kindString": "Object literal",
"flags": {
"isConst": true,
"__visited__": true
},
"children": [
{
"id": 812,
"name": "configurable",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 670,
"character": 13
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "true"
},
{
"id": 813,
"name": "enumerable",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 671,
"character": 11
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "true"
},
{
"id": 814,
"name": "writable",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "compare.ts",
"line": 672,
"character": 9
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "true"
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
812,
813,
814
]
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 669,
"character": 32
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
675
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
649,
645,
659,
640,
636,
670
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
731,
691,
697,
703
]
},
{
"title": "Variables",
"kind": 32,
"children": [
687,
686,
688,
689,
690,
685
]
},
{
"title": "Functions",
"kind": 64,
"children": [
704,
709,
720,
725,
823,
738,
743,
753,
768,
789,
771,
777,
780,
783,
786,
793,
796,
833,
815,
807,
799,
819
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
811
]
}
],
"sources": [
{
"fileName": "compare.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1066,
"name": "\"global\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/global.ts",
"sources": [
{
"fileName": "global.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1023,
"name": "\"has\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/has.ts",
"sources": [
{
"fileName": "has.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1024,
"name": "\"instrument\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/instrument.ts",
"children": [
{
"id": 1025,
"name": "DeprecatedOptions",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 1026,
"name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "The message to use when warning"
},
"sources": [
{
"fileName": "instrument.ts",
"line": 17,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1027,
"name": "name",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "The name of the method or function to use"
},
"sources": [
{
"fileName": "instrument.ts",
"line": 22,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1032,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Reference an URL for more information when warning"
},
"sources": [
{
"fileName": "instrument.ts",
"line": 32,
"character": 4
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1028,
"name": "warn",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "An alternative function to log the warning to"
},
"sources": [
{
"fileName": "instrument.ts",
"line": 27,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 1029,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1030,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1031,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1026,
1027,
1032,
1028
]
}
],
"sources": [
{
"fileName": "instrument.ts",
"line": 13,
"character": 34
}
]
},
{
"id": 1033,
"name": "DEFAULT_DEPRECATED_MESSAGE",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"comment": {
"shortText": "The default message to warn when no other is provided"
},
"sources": [
{
"fileName": "instrument.ts",
"line": 6,
"character": 32
}
],
"type": {
"type": "stringLiteral",
"value": "This function will be removed in future versions."
},
"defaultValue": "\"This function will be removed in future versions.\""
},
{
"id": 1034,
"name": "globalWarn",
"kind": 32,
"kindString": "Variable",
"flags": {
"isLet": true,
"__visited__": true
},
"comment": {
"shortText": "When set, globalWarn will be used instead of `console.warn`"
},
"sources": [
{
"fileName": "instrument.ts",
"line": 11,
"character": 14
}
],
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1035,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1036,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1037,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1038,
"name": "optionalParams",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "instrument.ts",
"line": 11,
"character": 15
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
},
{
"id": 1039,
"name": "deprecated",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1040,
"name": "deprecated",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A function that will console warn that a function has been deprecated"
},
"parameters": [
{
"id": 1041,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"originalName": "__0",
"type": {
"type": "reflection",
"declaration": {
"id": 1042,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 1043,
"name": "message",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "instrument.ts",
"line": 40,
"character": 36
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1044,
"name": "name",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "instrument.ts",
"line": 40,
"character": 42
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1049,
"name": "url",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "instrument.ts",
"line": 40,
"character": 53
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1045,
"name": "warn",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "instrument.ts",
"line": 40,
"character": 48
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 1046,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1047,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1048,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
1043,
1044,
1049,
1045
]
}
],
"sources": [
{
"fileName": "instrument.ts",
"line": 40,
"character": 27
}
]
}
},
"defaultValue": " {}"
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "instrument.ts",
"line": 40,
"character": 26
}
]
},
{
"id": 1050,
"name": "deprecatedAdvice",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1051,
"name": "deprecatedAdvice",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A function that generates before advice that can be used to warn when an API has been deprecated"
},
"parameters": [
{
"id": 1052,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "Provide options which change the display of the message\n"
},
"type": {
"type": "reference",
"name": "DeprecatedOptions",
"id": 1025
}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1053,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1054,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1055,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"sources": [
{
"fileName": "instrument.ts",
"line": 63,
"character": 62
}
]
}
}
}
],
"sources": [
{
"fileName": "instrument.ts",
"line": 63,
"character": 32
}
]
},
{
"id": 1056,
"name": "deprecatedDecorator",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1057,
"name": "deprecatedDecorator",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A method decorator that will console warn when a method if invoked that is deprecated"
},
"parameters": [
{
"id": 1058,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "Provide options which change the display of the message\n"
},
"type": {
"type": "reference",
"name": "DeprecatedOptions",
"id": 1025
}
}
],
"type": {
"type": "reference",
"name": "MethodDecorator"
}
}
],
"sources": [
{
"fileName": "instrument.ts",
"line": 75,
"character": 35
}
]
},
{
"id": 1059,
"name": "setWarn",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1060,
"name": "setWarn",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A function that will set the warn function that will be used instead of `console.warn` when\nlogging warning messages"
},
"parameters": [
{
"id": 1061,
"name": "warn",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "The function (or `undefined`) to use instead of `console.warn`\n"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 1062,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1063,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1064,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1065,
"name": "optionalParams",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "instrument.ts",
"line": 98,
"character": 23
}
]
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
1025
]
},
{
"title": "Variables",
"kind": 32,
"children": [
1033,
1034
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1039,
1050,
1056,
1059
]
}
],
"sources": [
{
"fileName": "instrument.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1,
"name": "\"interfaces\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/interfaces.ts",
"children": [
{
"id": 26,
"name": "AmdConfig",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The interfaces to the `@dojo/loader` AMD loader"
},
"children": [
{
"id": 27,
"name": "baseUrl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "The base URL that the loader will use to resolve modules"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 76,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 28,
"name": "map",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "A map of module identifiers and their replacement meta data"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 81,
"character": 4
}
],
"type": {
"type": "reference",
"name": "AmdModuleMap",
"id": 76
}
},
{
"id": 29,
"name": "packages",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "An array of packages that the loader should use when resolving a module ID"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 86,
"character": 9
}
],
"type": {
"type": "array",
"elementType": {
"type": "reference",
"name": "AmdPackage",
"id": 95
}
}
},
{
"id": 30,
"name": "paths",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "A map of paths to use when resolving modules names"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 91,
"character": 6
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 31,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 32,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 33,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
}
}
]
}
},
{
"id": 34,
"name": "pkgs",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "A map of packages that the loader should use when resolving a module ID"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 96,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 35,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 36,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 37,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "AmdPackage",
"id": 95
}
}
]
}
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
27,
28,
29,
30,
34
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 72,
"character": 26
}
]
},
{
"id": 38,
"name": "AmdDefine",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 39,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Define a module"
},
"parameters": [
{
"id": 40,
"name": "moduleId",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "the MID to use for the module"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 41,
"name": "dependencies",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "an array of MIDs this module depends upon"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 42,
"name": "factory",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "the factory function that will return the module\n"
},
"type": {
"type": "reference",
"name": "AmdFactory",
"id": 54
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
},
{
"id": 43,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Define a module"
},
"parameters": [
{
"id": 44,
"name": "dependencies",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "an array of MIDs this module depends upon"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 45,
"name": "factory",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "the factory function that will return the module\n"
},
"type": {
"type": "reference",
"name": "AmdFactory",
"id": 54
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
},
{
"id": 46,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Define a module"
},
"parameters": [
{
"id": 47,
"name": "factory",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "the factory function that will return the module\n"
},
"type": {
"type": "reference",
"name": "AmdFactory",
"id": 54
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
},
{
"id": 48,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Define a module"
},
"parameters": [
{
"id": 49,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "the value for the module\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"children": [
{
"id": 50,
"name": "amd",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Meta data about this particular AMD loader"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 134,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 51,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 52,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 53,
"name": "prop",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "number"
},
{
"type": "intrinsic",
"name": "boolean"
}
]
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 134,
"character": 5
}
]
}
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
50
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 99,
"character": 26
}
]
},
{
"id": 54,
"name": "AmdFactory",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 55,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The module factory"
},
"parameters": [
{
"id": 56,
"name": "modules",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"comment": {
"text": "The arguments that represent the resolved versions of the module dependencies\n"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 137,
"character": 27
}
]
},
{
"id": 57,
"name": "AmdHas",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 58,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Determine if a feature is present"
},
"parameters": [
{
"id": 59,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "the feature name to check\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"children": [
{
"id": 60,
"name": "add",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 61,
"name": "add",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Register a feature test"
},
"parameters": [
{
"id": 62,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The name of the feature to register"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 63,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The test for the feature"
},
"type": {
"type": "reflection",
"declaration": {
"id": 64,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 65,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 66,
"name": "global",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Window"
}
},
{
"id": 67,
"name": "document",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "HTMLDocument"
}
},
{
"id": 68,
"name": "element",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "HTMLDivElement"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 164,
"character": 8
}
]
}
}
},
{
"id": 69,
"name": "now",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "If `true` the test will be executed immediatly, if not, it will be lazily executed"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 70,
"name": "force",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "If `true` the test value will be overwritten if already registered\n"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
},
{
"id": 71,
"name": "add",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 72,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 73,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 74,
"name": "now",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 75,
"name": "force",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 162,
"character": 4
},
{
"fileName": "interfaces.ts",
"line": 168,
"character": 4
}
]
}
],
"groups": [
{
"title": "Methods",
"kind": 2048,
"children": [
60
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 146,
"character": 23
}
]
},
{
"id": 76,
"name": "AmdModuleMap",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"indexSignature": [
{
"id": 79,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 80,
"name": "mid",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 171,
"character": 29
}
],
"extendedTypes": [
{
"type": "reference",
"name": "AmdModuleMapItem",
"id": 81
}
]
},
{
"id": 81,
"name": "AmdModuleMapItem",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"indexSignature": [
{
"id": 82,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 83,
"name": "mid",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 175,
"character": 33
}
],
"extendedBy": [
{
"type": "reference",
"name": "AmdModuleMap",
"id": 76
},
{
"type": "reference",
"name": "AmdModuleMapReplacement",
"id": 84
}
]
},
{
"id": 84,
"name": "AmdModuleMapReplacement",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"indexSignature": [
{
"id": 87,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 88,
"name": "mid",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 179,
"character": 40
}
],
"extendedTypes": [
{
"type": "reference",
"name": "AmdModuleMapItem",
"id": 81
}
]
},
{
"id": 95,
"name": "AmdPackage",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 96,
"name": "location",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "The path to the root of the package"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 192,
"character": 9
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 97,
"name": "main",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "The main module of the package (defaults to `main.js`)"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 197,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 98,
"name": "name",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "The package name"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 202,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
96,
97,
98
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 188,
"character": 27
}
]
},
{
"id": 99,
"name": "AmdRequire",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 100,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Resolve a list of module dependencies and pass them to the callback"
},
"parameters": [
{
"id": 101,
"name": "dependencies",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The array of MIDs to resolve"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 102,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The function to invoke with the resolved dependencies\n"
},
"type": {
"type": "reference",
"name": "AmdRequireCallback",
"id": 113
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
},
{
"id": 103,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Resolve and return a single module (compatability with CommonJS `require`)"
},
"typeParameter": [
{
"id": 104,
"name": "ModuleType",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 105,
"name": "moduleId",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The module ID to resolve and return\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "typeParameter",
"name": "ModuleType"
}
}
],
"children": [
{
"id": 106,
"name": "nodeRequire",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "If running in the node environment, a reference to the original NodeJS `require`"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 224,
"character": 12
}
],
"type": {
"type": "reference",
"name": "NodeRequire",
"id": 89
}
},
{
"id": 107,
"name": "toAbsMid",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 108,
"name": "toAbsMid",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Take a relative MID and return an absolute MID"
},
"parameters": [
{
"id": 109,
"name": "moduleId",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The relative module ID to resolve\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 231,
"character": 9
}
]
},
{
"id": 110,
"name": "toUrl",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 111,
"name": "toUrl",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Take a path and resolve the full URL for the path"
},
"parameters": [
{
"id": 112,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The path to resolve and return as a URL\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 238,
"character": 6
}
]
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
106
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
107,
110
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 205,
"character": 27
}
],
"extendedBy": [
{
"type": "reference",
"name": "AmdRootRequire",
"id": 116
}
]
},
{
"id": 113,
"name": "AmdRequireCallback",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 114,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The `require` callback"
},
"parameters": [
{
"id": 115,
"name": "modules",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"comment": {
"text": "The arguments that represent the resolved versions of dependencies\n"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 241,
"character": 35
}
]
},
{
"id": 116,
"name": "AmdRootRequire",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 135,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Resolve a list of module dependencies and pass them to the callback"
},
"parameters": [
{
"id": 136,
"name": "dependencies",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The array of MIDs to resolve"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
},
{
"id": 137,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The function to invoke with the resolved dependencies\n"
},
"type": {
"type": "reference",
"name": "AmdRequireCallback",
"id": 113
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
},
{
"id": 138,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Resolve and return a single module (compatability with CommonJS `require`)"
},
"typeParameter": [
{
"id": 139,
"name": "ModuleType",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 140,
"name": "moduleId",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The module ID to resolve and return\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "typeParameter",
"name": "ModuleType"
}
}
],
"children": [
{
"id": 117,
"name": "has",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The minimalist `has` API integrated with the `@dojo/loader`"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 254,
"character": 4
}
],
"type": {
"type": "reference",
"name": "AmdHas",
"id": 57
}
},
{
"id": 141,
"name": "nodeRequire",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "If running in the node environment, a reference to the original NodeJS `require`"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 224,
"character": 12
}
],
"type": {
"type": "reference",
"name": "NodeRequire",
"id": 89
},
"inheritedFrom": {
"type": "reference",
"name": "AmdRequire.nodeRequire",
"id": 106
}
},
{
"id": 126,
"name": "config",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 127,
"name": "config",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Configure the loader"
},
"parameters": [
{
"id": 128,
"name": "config",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The configuration to apply to the loader\n"
},
"type": {
"type": "reference",
"name": "AmdConfig",
"id": 26
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 269,
"character": 7
}
]
},
{
"id": 129,
"name": "inspect",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"signatures": [
{
"id": 130,
"name": "inspect",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return internal values of loader for debug purposes"
},
"parameters": [
{
"id": 131,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The name of the internal label\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 276,
"character": 8
}
]
},
{
"id": 118,
"name": "on",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 119,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Register an event listener"
},
"parameters": [
{
"id": 120,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The event type to listen for"
},
"type": {
"type": "reference",
"name": "AmdRequireOnSignalType",
"id": 149
}
},
{
"id": 121,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The listener to call when the event is emitted\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 122,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 123,
"name": "remove",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 262,
"character": 58
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 124,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 125,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 262,
"character": 59
}
]
}
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
123
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 262,
"character": 49
}
]
}
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 262,
"character": 3
}
]
},
{
"id": 142,
"name": "toAbsMid",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 143,
"name": "toAbsMid",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Take a relative MID and return an absolute MID"
},
"parameters": [
{
"id": 144,
"name": "moduleId",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The relative module ID to resolve\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"name": "AmdRequire.toAbsMid",
"id": 107
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 231,
"character": 9
}
],
"inheritedFrom": {
"type": "reference",
"name": "AmdRequire.toAbsMid",
"id": 107
}
},
{
"id": 145,
"name": "toUrl",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 146,
"name": "toUrl",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Take a path and resolve the full URL for the path"
},
"parameters": [
{
"id": 147,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The path to resolve and return as a URL\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"name": "AmdRequire.toUrl",
"id": 110
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 238,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
"name": "AmdRequire.toUrl",
"id": 110
}
},
{
"id": 132,
"name": "undef",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 133,
"name": "undef",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Undefine a module, based on absolute MID that should be removed from the loader cache"
},
"parameters": [
{
"id": 134,
"name": "moduleId",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 281,
"character": 6
}
]
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
117,
141
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
126,
129,
118,
142,
145,
132
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 250,
"character": 31
}
],
"extendedTypes": [
{
"type": "reference",
"name": "AmdRequire",
"id": 99
}
]
},
{
"id": 9,
"name": "EventCancelableObject",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "An interface for an object which provides a cancelable event API. By calling the\n`.preventDefault()` method on the object, the event should be cancelled and not\nproceed any further"
},
"typeParameter": [
{
"id": 10,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 11,
"name": "cancelable",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Can the event be canceled?"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 29,
"character": 20
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 12,
"name": "defaultPrevented",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Was the event canceled?"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 34,
"character": 26
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 15,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The type of the event"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 10,
"character": 14
}
],
"type": {
"type": "typeParameter",
"name": "T"
},
"inheritedFrom": {
"type": "reference",
"name": "EventObject.type",
"id": 4
}
},
{
"id": 13,
"name": "preventDefault",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 14,
"name": "preventDefault",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Cancel the event"
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 39,
"character": 15
}
]
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
11,
12,
15
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
13
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 25,
"character": 38
}
],
"extendedTypes": [
{
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
},
{
"id": 5,
"name": "EventErrorObject",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 6,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 7,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The error that is the subject of this event"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 17,
"character": 15
}
],
"type": {
"type": "reference",
"name": "Error"
}
},
{
"id": 8,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The type of the event"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 10,
"character": 14
}
],
"type": {
"type": "typeParameter",
"name": "T"
},
"inheritedFrom": {
"type": "reference",
"name": "EventObject.type",
"id": 4
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
7,
8
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 13,
"character": 33
}
],
"extendedTypes": [
{
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
},
{
"id": 2,
"name": "EventObject",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The base event object, which provides a `type` property"
},
"typeParameter": [
{
"id": 3,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 4,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The type of the event"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 10,
"character": 14
}
],
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
4
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 6,
"character": 28
}
],
"extendedBy": [
{
"type": "reference",
"name": "EventErrorObject",
"id": 5
},
{
"type": "reference",
"name": "EventCancelableObject",
"id": 9
},
{
"type": "reference",
"name": "DOMEventObject",
"id": 1254
}
]
},
{
"id": 16,
"name": "Handle",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Used through the toolkit as a consistent API to manage how callers can \"cleanup\"\nwhen doing a function."
},
"children": [
{
"id": 17,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 18,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Perform the destruction/cleanup logic associated with this handle"
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 50,
"character": 8
}
]
}
],
"groups": [
{
"title": "Methods",
"kind": 2048,
"children": [
17
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 46,
"character": 23
}
],
"extendedBy": [
{
"type": "reference",
"name": "PausableHandle",
"id": 1259
}
]
},
{
"id": 19,
"name": "Hash",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A general interface that can be used to renference a general index map of values of a particular type"
},
"typeParameter": [
{
"id": 20,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"indexSignature": [
{
"id": 21,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A general interface that can be used to renference a general index map of values of a particular type"
},
"parameters": [
{
"id": 22,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 56,
"character": 21
}
]
},
{
"id": 89,
"name": "NodeRequire",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 90,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 91,
"name": "moduleId",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"children": [
{
"id": 92,
"name": "resolve",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 93,
"name": "resolve",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 94,
"name": "moduleId",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 185,
"character": 8
}
]
}
],
"groups": [
{
"title": "Methods",
"kind": 2048,
"children": [
92
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 183,
"character": 28
}
]
},
{
"id": 23,
"name": "StylesMap",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "A base map of styles where each key is the name of the style attribute and the value is a string\nwhich represents the style"
},
"indexSignature": [
{
"id": 24,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A base map of styles where each key is the name of the style attribute and the value is a string\nwhich represents the style"
},
"parameters": [
{
"id": 25,
"name": "style",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 64,
"character": 26
}
]
},
{
"id": 149,
"name": "AmdRequireOnSignalType",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "The signal type for the `require.on` API"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 287,
"character": 34
}
],
"type": {
"type": "stringLiteral",
"value": "error"
}
},
{
"id": 148,
"name": "EventType",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 1,
"character": 21
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "symbol"
}
]
}
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
26,
38,
54,
57,
76,
81,
84,
95,
99,
113,
116,
9,
5,
2,
16,
19,
89,
23
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
149,
148
]
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 150,
"name": "\"lang\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/lang.ts",
"children": [
{
"id": 151,
"name": "MixinArgs",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 152,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 153,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"children": [
{
"id": 158,
"name": "copied",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "lang.ts",
"line": 45,
"character": 7
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
},
{
"id": 154,
"name": "deep",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "lang.ts",
"line": 41,
"character": 5
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 155,
"name": "inherited",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "lang.ts",
"line": 42,
"character": 10
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 156,
"name": "sources",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "lang.ts",
"line": 43,
"character": 8
}
],
"type": {
"type": "array",
"elementType": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
},
{
"type": "unknown",
"name": "U"
}
]
}
}
},
{
"id": 157,
"name": "target",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "lang.ts",
"line": 44,
"character": 7
}
],
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
158,
154,
155,
156,
157
]
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 40,
"character": 19
}
]
},
{
"id": 160,
"name": "hasOwnProperty",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "lang.ts",
"line": 7,
"character": 20
}
],
"type": {
"type": "reference",
"name": "hasOwnProperty"
},
"defaultValue": " Object.prototype.hasOwnProperty"
},
{
"id": 159,
"name": "slice",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "lang.ts",
"line": 6,
"character": 11
}
],
"type": {
"type": "reference",
"name": "slice"
},
"defaultValue": " Array.prototype.slice"
},
{
"id": 169,
"name": "_mixin",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 170,
"name": "_mixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 171,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 172,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 173,
"name": "kwArgs",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "MixinArgs",
"id": 151,
"typeArguments": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 48,
"character": 15
}
]
},
{
"id": 164,
"name": "copyArray",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 165,
"name": "copyArray",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 166,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 167,
"name": "array",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 168,
"name": "inherited",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"type": {
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 23,
"character": 18
}
]
},
{
"id": 174,
"name": "create",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 175,
"name": "create",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Creates a new object from the given prototype, and copies all enumerable own properties of one or more\nsource objects to the newly created target object.",
"returns": "The new object\n"
},
"typeParameter": [
{
"id": 176,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 177,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 178,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 179,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 180,
"name": "X",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 181,
"name": "Y",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 182,
"name": "Z",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 183,
"name": "prototype",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The prototype to create a new object from"
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 184,
"name": "mixin1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 185,
"name": "mixin2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 186,
"name": "mixin3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 187,
"name": "mixin4",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 188,
"name": "mixin5",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 189,
"name": "mixin6",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "Z",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "Z",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 190,
"name": "create",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 191,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 192,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 193,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 194,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 195,
"name": "X",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 196,
"name": "Y",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 197,
"name": "prototype",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 198,
"name": "mixin1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 199,
"name": "mixin2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 200,
"name": "mixin3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 201,
"name": "mixin4",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 202,
"name": "mixin5",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 203,
"name": "create",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 204,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 205,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 206,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 207,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 208,
"name": "X",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 209,
"name": "prototype",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 210,
"name": "mixin1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 211,
"name": "mixin2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 212,
"name": "mixin3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 213,
"name": "mixin4",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 214,
"name": "create",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 215,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 216,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 217,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 218,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 219,
"name": "prototype",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 220,
"name": "mixin1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 221,
"name": "mixin2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 222,
"name": "mixin3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 223,
"name": "create",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 224,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 225,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 226,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 227,
"name": "prototype",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 228,
"name": "mixin1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 229,
"name": "mixin2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 230,
"name": "create",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 231,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 232,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 233,
"name": "prototype",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 234,
"name": "mixin",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 235,
"name": "create",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 236,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 237,
"name": "prototype",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 100,
"character": 22
},
{
"fileName": "lang.ts",
"line": 109,
"character": 22
},
{
"fileName": "lang.ts",
"line": 117,
"character": 22
},
{
"fileName": "lang.ts",
"line": 124,
"character": 22
},
{
"fileName": "lang.ts",
"line": 130,
"character": 22
},
{
"fileName": "lang.ts",
"line": 131,
"character": 22
},
{
"fileName": "lang.ts",
"line": 132,
"character": 22
},
{
"fileName": "lang.ts",
"line": 133,
"character": 22
}
]
},
{
"id": 452,
"name": "createCompositeHandle",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 453,
"name": "createCompositeHandle",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns a single handle that can be used to destroy multiple handles simultaneously.",
"returns": "The handle object\n"
},
"parameters": [
{
"id": 454,
"name": "handles",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"comment": {
"text": "An array of handles with `destroy` methods"
},
"type": {
"type": "array",
"elementType": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 381,
"character": 37
}
]
},
{
"id": 447,
"name": "createHandle",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 448,
"name": "createHandle",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns an object with a destroy method that, when called, calls the passed-in destructor.\nThis is intended to provide a unified interface for creating \"remove\" / \"destroy\" handlers for\nevent listeners, timers, etc.",
"returns": "The handle object\n"
},
"parameters": [
{
"id": 449,
"name": "destructor",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "A function that will be called when the handle's `destroy` method is invoked"
},
"type": {
"type": "reflection",
"declaration": {
"id": 450,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 451,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 366,
"character": 40
}
]
}
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 366,
"character": 28
}
]
},
{
"id": 238,
"name": "deepAssign",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 239,
"name": "deepAssign",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Copies the values of all enumerable own properties of one or more source objects to the target object,\nrecursively copying all nested objects and arrays as well.",
"returns": "The modified target object\n"
},
"typeParameter": [
{
"id": 240,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 241,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 242,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 243,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 244,
"name": "X",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 245,
"name": "Y",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 246,
"name": "Z",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 247,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The target object to receive values from source objects"
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 248,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 249,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 250,
"name": "source3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 251,
"name": "source4",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 252,
"name": "source5",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 253,
"name": "source6",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "Z",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "Z",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 254,
"name": "deepAssign",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 255,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 256,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 257,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 258,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 259,
"name": "X",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 260,
"name": "Y",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 261,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 262,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 263,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 264,
"name": "source3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 265,
"name": "source4",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 266,
"name": "source5",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 267,
"name": "deepAssign",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 268,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 269,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 270,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 271,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 272,
"name": "X",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 273,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 274,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 275,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 276,
"name": "source3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 277,
"name": "source4",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 278,
"name": "deepAssign",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 279,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 280,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 281,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 282,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 283,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 284,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 285,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 286,
"name": "source3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 287,
"name": "deepAssign",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 288,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 289,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 290,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 291,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 292,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 293,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 294,
"name": "deepAssign",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 295,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 296,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 297,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 298,
"name": "source",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 152,
"character": 26
},
{
"fileName": "lang.ts",
"line": 161,
"character": 26
},
{
"fileName": "lang.ts",
"line": 169,
"character": 26
},
{
"fileName": "lang.ts",
"line": 176,
"character": 26
},
{
"fileName": "lang.ts",
"line": 182,
"character": 26
},
{
"fileName": "lang.ts",
"line": 183,
"character": 26
},
{
"fileName": "lang.ts",
"line": 184,
"character": 26
}
]
},
{
"id": 299,
"name": "deepMixin",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 300,
"name": "deepMixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Copies the values of all enumerable (own or inherited) properties of one or more source objects to the\ntarget object, recursively copying all nested objects and arrays as well.",
"returns": "The modified target object\n"
},
"typeParameter": [
{
"id": 301,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 302,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 303,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 304,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 305,
"name": "X",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 306,
"name": "Y",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 307,
"name": "Z",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 308,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The target object to receive values from source objects"
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 309,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 310,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 311,
"name": "source3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 312,
"name": "source4",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 313,
"name": "source5",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 314,
"name": "source6",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "Z",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "Z",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 315,
"name": "deepMixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 316,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 317,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 318,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 319,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 320,
"name": "X",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 321,
"name": "Y",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 322,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 323,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 324,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 325,
"name": "source3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 326,
"name": "source4",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 327,
"name": "source5",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 328,
"name": "deepMixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 329,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 330,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 331,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 332,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 333,
"name": "X",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 334,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 335,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 336,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 337,
"name": "source3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 338,
"name": "source4",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 339,
"name": "deepMixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 340,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 341,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 342,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 343,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 344,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 345,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 346,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 347,
"name": "source3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 348,
"name": "deepMixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 349,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 350,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 351,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 352,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 353,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 354,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 355,
"name": "deepMixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 356,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 357,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 358,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 359,
"name": "source",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 201,
"character": 25
},
{
"fileName": "lang.ts",
"line": 210,
"character": 25
},
{
"fileName": "lang.ts",
"line": 218,
"character": 25
},
{
"fileName": "lang.ts",
"line": 225,
"character": 25
},
{
"fileName": "lang.ts",
"line": 231,
"character": 25
},
{
"fileName": "lang.ts",
"line": 232,
"character": 25
},
{
"fileName": "lang.ts",
"line": 233,
"character": 25
}
]
},
{
"id": 360,
"name": "duplicate",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 361,
"name": "duplicate",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Creates a new object using the provided source's prototype as the prototype for the new object, and then\ndeep copies the provided source's values into the new target.",
"returns": "The new object\n"
},
"typeParameter": [
{
"id": 362,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 363,
"name": "source",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The object to duplicate"
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 249,
"character": 25
}
]
},
{
"id": 364,
"name": "isIdentical",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 365,
"name": "isIdentical",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Determines whether two values are the same value.",
"returns": "true if the values are the same; false otherwise\n"
},
"parameters": [
{
"id": 366,
"name": "a",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "First value to compare"
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 367,
"name": "b",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Second value to compare"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 262,
"character": 27
}
]
},
{
"id": 368,
"name": "lateBind",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 369,
"name": "lateBind",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns a function that binds a method to the specified object at runtime. This is similar to\n`Function.prototype.bind`, but instead of a function it takes the name of a method on an object.\nAs a result, the function returned by `lateBind` will always call the function currently assigned to\nthe specified property on the object as of the moment the function it returns is called.",
"returns": "The bound function\n"
},
"parameters": [
{
"id": 370,
"name": "instance",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The context object"
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 371,
"name": "method",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The name of the method on the context object to bind to itself"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 372,
"name": "suppliedArgs",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"comment": {
"text": "An optional array of values to prepend to the `instance[method]` arguments list"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 373,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 374,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 375,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 281,
"character": 79
}
]
}
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 281,
"character": 24
}
]
},
{
"id": 376,
"name": "mixin",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 377,
"name": "mixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Copies the values of all enumerable (own or inherited) properties of one or more source objects to the\ntarget object.",
"returns": "The modified target object\n"
},
"typeParameter": [
{
"id": 378,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 379,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 380,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 381,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 382,
"name": "X",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 383,
"name": "Y",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 384,
"name": "Z",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 385,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 386,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 387,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 388,
"name": "source3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 389,
"name": "source4",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 390,
"name": "source5",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 391,
"name": "source6",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "Z",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "Z",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 392,
"name": "mixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 393,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 394,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 395,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 396,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 397,
"name": "X",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 398,
"name": "Y",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 399,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 400,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 401,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 402,
"name": "source3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 403,
"name": "source4",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 404,
"name": "source5",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "Y",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 405,
"name": "mixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 406,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 407,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 408,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 409,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 410,
"name": "X",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 411,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 412,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 413,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 414,
"name": "source3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 415,
"name": "source4",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "X",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 416,
"name": "mixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 417,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 418,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 419,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 420,
"name": "W",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 421,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 422,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 423,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 424,
"name": "source3",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "W",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 425,
"name": "mixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 426,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 427,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 428,
"name": "V",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 429,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 430,
"name": "source1",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 431,
"name": "source2",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "V",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
},
{
"id": 432,
"name": "mixin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 433,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
},
{
"id": 434,
"name": "U",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "__type"
}
}
],
"parameters": [
{
"id": 435,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
}
},
{
"id": 436,
"name": "source",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
}
],
"type": {
"type": "intersection",
"types": [
{
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reference",
"name": "__type"
}
},
{
"type": "typeParameter",
"name": "U",
"constraint": {
"type": "reference",
"name": "__type"
}
}
]
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 301,
"character": 21
},
{
"fileName": "lang.ts",
"line": 310,
"character": 21
},
{
"fileName": "lang.ts",
"line": 318,
"character": 21
},
{
"fileName": "lang.ts",
"line": 325,
"character": 21
},
{
"fileName": "lang.ts",
"line": 331,
"character": 21
},
{
"fileName": "lang.ts",
"line": 332,
"character": 21
},
{
"fileName": "lang.ts",
"line": 333,
"character": 21
}
]
},
{
"id": 437,
"name": "partial",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 438,
"name": "partial",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns a function which invokes the given function with the given arguments prepended to its argument list.\nLike `Function.prototype.bind`, but does not alter execution context.",
"returns": "The bound function\n"
},
"parameters": [
{
"id": 439,
"name": "targetFunction",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The function that needs to be bound"
},
"type": {
"type": "reflection",
"declaration": {
"id": 440,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 441,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 442,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 350,
"character": 39
}
]
}
}
},
{
"id": 443,
"name": "suppliedArgs",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"comment": {
"text": "An optional array of arguments to prepend to the `targetFunction` arguments list"
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 444,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 445,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 446,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 350,
"character": 89
}
]
}
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 350,
"character": 23
}
]
},
{
"id": 161,
"name": "shouldDeepCopyObject",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 162,
"name": "shouldDeepCopyObject",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Type guard that ensures that the value can be coerced to Object\nto weed out host objects that do not derive from Object.\nThis function is used to check if we want to deep copy an object or not.\nNote: In ES6 it is possible to modify an object's Symbol.toStringTag property, which will\nchange the value returned by `toString`. This is a rare edge case that is difficult to handle,\nso it is not handled here.",
"returns": "If the value is coercible into an Object\n"
},
"parameters": [
{
"id": 163,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The value to check"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 19,
"character": 29
}
]
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
151
]
},
{
"title": "Variables",
"kind": 32,
"children": [
160,
159
]
},
{
"title": "Functions",
"kind": 64,
"children": [
169,
164,
174,
452,
447,
238,
299,
360,
364,
368,
376,
437,
161
]
}
],
"sources": [
{
"fileName": "lang.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1201,
"name": "\"load\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/load.ts",
"children": [
{
"id": 1202,
"name": "Load",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1203,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1204,
"name": "require",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Require",
"id": 1208
}
},
{
"id": 1205,
"name": "moduleIds",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
]
}
},
{
"id": 1206,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1207,
"name": "moduleIds",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
]
}
}
],
"sources": [
{
"fileName": "load.ts",
"line": 7,
"character": 21
}
]
},
{
"id": 1208,
"name": "Require",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "load.ts",
"line": 5,
"character": 19
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "AmdRequire",
"id": 99
},
{
"type": "reference",
"name": "NodeRequire",
"id": 89
}
]
}
},
{
"id": 1210,
"name": "define",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "load.ts",
"line": 14,
"character": 20
}
],
"type": {
"type": "reference",
"name": "AmdDefine",
"id": 38
}
},
{
"id": 1217,
"name": "load",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true,
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "load.ts",
"line": 24,
"character": 10
}
],
"type": {
"type": "reference",
"name": "Load",
"id": 1202
},
"defaultValue": " (function(): Load {\n\tconst resolver = isAmdRequire(require)\n\t\t? require.toUrl\n\t\t: isNodeRequire(require) ? require.resolve : (resourceId: string) => resourceId;\n\n\tfunction pluginLoad(moduleIds: string[], load: Load, loader: (modulesIds: string[]) => Promise<any>) {\n\t\tconst pluginResourceIds: string[] = [];\n\t\tmoduleIds = moduleIds.map((id: string, i: number) => {\n\t\t\tconst parts = id.split('!');\n\t\t\tpluginResourceIds[i] = parts[1];\n\t\t\treturn parts[0];\n\t\t});\n\n\t\treturn loader(moduleIds).then((modules: any[]) => {\n\t\t\tpluginResourceIds.forEach((resourceId: string, i: number) => {\n\t\t\t\tif (typeof resourceId === 'string') {\n\t\t\t\t\tconst module = modules[i];\n\t\t\t\t\tconst defaultExport = module['default'] || module;\n\n\t\t\t\t\tif (isPlugin(defaultExport)) {\n\t\t\t\t\t\tresourceId =\n\t\t\t\t\t\t\ttypeof defaultExport.normalize === 'function'\n\t\t\t\t\t\t\t\t? defaultExport.normalize(resourceId, resolver)\n\t\t\t\t\t\t\t\t: resolver(resourceId);\n\n\t\t\t\t\t\tmodules[i] = defaultExport.load(resourceId, load);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn Promise.all(modules);\n\t\t});\n\t}\n\n\tif (typeof module === 'object' && typeof module.exports === 'object') {\n\t\treturn function load(contextualRequire: any, ...moduleIds: string[]): Promise<any[]> {\n\t\t\tif (typeof contextualRequire === 'string') {\n\t\t\t\tmoduleIds.unshift(contextualRequire);\n\t\t\t\tcontextualRequire = require;\n\t\t\t}\n\n\t\t\treturn pluginLoad(moduleIds, load, (moduleIds: string[]) => {\n\t\t\t\ttry {\n\t\t\t\t\treturn Promise.resolve(\n\t\t\t\t\t\tmoduleIds.map(function(moduleId): any {\n\t\t\t\t\t\t\treturn contextualRequire(moduleId.split('!')[0]);\n\t\t\t\t\t\t})\n\t\t\t\t\t);\n\t\t\t\t} catch (error) {\n\t\t\t\t\treturn Promise.reject(error);\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\t} else if (typeof define === 'function' && define.amd) {\n\t\treturn function load(contextualRequire: any, ...moduleIds: string[]): Promise<any[]> {\n\t\t\tif (typeof contextualRequire === 'string') {\n\t\t\t\tmoduleIds.unshift(contextualRequire);\n\t\t\t\tcontextualRequire = require;\n\t\t\t}\n\n\t\t\treturn pluginLoad(moduleIds, load, (moduleIds: string[]) => {\n\t\t\t\treturn new Promise(function(resolve, reject) {\n\t\t\t\t\tlet errorHandle: { remove: () => void };\n\n\t\t\t\t\tif (typeof contextualRequire.on === 'function') {\n\t\t\t\t\t\terrorHandle = contextualRequire.on('error', (error: Error) => {\n\t\t\t\t\t\t\terrorHandle.remove();\n\t\t\t\t\t\t\treject(error);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\tcontextualRequire(moduleIds, function(...modules: any[]) {\n\t\t\t\t\t\terrorHandle && errorHandle.remove();\n\t\t\t\t\t\tresolve(modules);\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t});\n\t\t};\n\t} else {\n\t\treturn function() {\n\t\t\treturn Promise.reject(new Error('Unknown loader'));\n\t\t};\n\t}\n})()"
},
{
"id": 1209,
"name": "require",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "load.ts",
"line": 12,
"character": 21
}
],
"type": {
"type": "reference",
"name": "Require",
"id": 1208
}
},
{
"id": 1211,
"name": "isAmdRequire",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1212,
"name": "isAmdRequire",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1213,
"name": "object",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "load.ts",
"line": 16,
"character": 28
}
]
},
{
"id": 1214,
"name": "isNodeRequire",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1215,
"name": "isNodeRequire",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1216,
"name": "object",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "load.ts",
"line": 20,
"character": 29
}
]
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
1202
]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [
1208
]
},
{
"title": "Variables",
"kind": 32,
"children": [
1210,
1217,
1209
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1211,
1214
]
}
],
"sources": [
{
"fileName": "load.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1178,
"name": "\"load/util\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/load/util.ts",
"children": [
{
"id": 1179,
"name": "LoadPlugin",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 1180,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 1181,
"name": "normalize",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "An optional method that normmalizes a resource id.",
"tags": [
{
"tag": "param",
"text": "\nThe raw resource id.\n",
"param": "resourceId"
},
{
"tag": "param",
"text": "\nA method that can resolve an id to an absolute path. Depending on the environment, this will\nusually be either `require.toUrl` or `require.resolve`.\n",
"param": "resolver"
}
]
},
"sources": [
{
"fileName": "load/util.ts",
"line": 15,
"character": 10
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 1182,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1183,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1184,
"name": "resourceId",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1185,
"name": "resolver",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1186,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1187,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1188,
"name": "resourceId",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "load/util.ts",
"line": 15,
"character": 43
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
}
}
]
}
},
{
"id": 1189,
"name": "load",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1190,
"name": "load",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A method that loads the specified resource.",
"returns": "\nA promise that resolves to the loaded resource.\n"
},
"parameters": [
{
"id": 1191,
"name": "resourceId",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "\nThe id of the resource to load.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1192,
"name": "load",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "\nThe `load` method that was used to load and execute the plugin.\n"
},
"type": {
"type": "reference",
"name": "Load",
"id": 1202
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "load/util.ts",
"line": 29,
"character": 5
}
]
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1181
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1189
]
}
],
"sources": [
{
"fileName": "load/util.ts",
"line": 4,
"character": 27
}
]
},
{
"id": 1193,
"name": "isPlugin",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1194,
"name": "isPlugin",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1195,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "load/util.ts",
"line": 32,
"character": 24
}
]
},
{
"id": 1196,
"name": "useDefault",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1197,
"name": "useDefault",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1198,
"name": "modules",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
},
{
"id": 1199,
"name": "useDefault",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1200,
"name": "module",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "load/util.ts",
"line": 36,
"character": 26
},
{
"fileName": "load/util.ts",
"line": 37,
"character": 26
},
{
"fileName": "load/util.ts",
"line": 38,
"character": 26
}
]
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
1179
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1193,
1196
]
}
],
"sources": [
{
"fileName": "load/util.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 2396,
"name": "\"load/webpack\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/load/webpack.ts",
"children": [
{
"id": 2403,
"name": "BundleLoaderCallback",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 2404,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"signatures": [
{
"id": 2405,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2406,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "load/webpack.ts",
"line": 8,
"character": 30
}
]
},
{
"id": 2397,
"name": "ModuleIdMap",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 2398,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2399,
"name": "path",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 2400,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 2401,
"name": "id",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "load/webpack.ts",
"line": 5,
"character": 21
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2402,
"name": "lazy",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "load/webpack.ts",
"line": 5,
"character": 35
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
2401,
2402
]
}
],
"sources": [
{
"fileName": "load/webpack.ts",
"line": 5,
"character": 16
}
]
}
}
}
],
"sources": [
{
"fileName": "load/webpack.ts",
"line": 4,
"character": 21
}
]
},
{
"id": 2407,
"name": "WebpackRequire",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 2408,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"signatures": [
{
"id": 2409,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2410,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "reference",
"name": "BundleLoaderCallback",
"id": 2403,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "load/webpack.ts",
"line": 12,
"character": 24
}
]
},
{
"id": 2411,
"name": "__modules__",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"comment": {
"shortText": "A global map (set by the build) of resolved module paths to webpack-specific module data."
},
"sources": [
{
"fileName": "load/webpack.ts",
"line": 19,
"character": 25
}
],
"type": {
"type": "reference",
"name": "ModuleIdMap",
"id": 2397
}
},
{
"id": 2412,
"name": "__webpack_require__",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"comment": {
"shortText": "The webpack-specific require function, set globally by webpack."
},
"sources": [
{
"fileName": "load/webpack.ts",
"line": 24,
"character": 33
}
],
"type": {
"type": "reference",
"name": "WebpackRequire",
"id": 2407,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
},
{
"id": 2417,
"name": "getBasePath",
"kind": 64,
"kindString": "Function",
"flags": {
"isPrivate": true,
"__visited__": true
},
"signatures": [
{
"id": 2418,
"name": "getBasePath",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isPrivate": true,
"__visited__": true
},
"comment": {
"returns": "\nThe parent directory of the path returned by the context function.\n"
},
"parameters": [
{
"id": 2419,
"name": "context",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "\nA function that returns the context module ID.\n"
},
"type": {
"type": "reflection",
"declaration": {
"id": 2420,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2421,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "load/webpack.ts",
"line": 77,
"character": 29
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "load/webpack.ts",
"line": 77,
"character": 20
}
]
},
{
"id": 2422,
"name": "load",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2423,
"name": "load",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "A webpack-specific function that replaces `@dojo/core/load` in its builds. In order for a module to be loaded,\nit must first be included in a webpack chunk, whether that chunk is included in the main build, or lazy-loaded.\nNote that this module is not intended for direct use, but rather is intended for use by a webpack plugin\nthat sets the module ID map used to translate resolved module paths to webpack module IDs.",
"returns": "\nA promise to the loaded module values.\n"
},
"parameters": [
{
"id": 2424,
"name": "contextRequire",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "\nAn optional function that returns the base path to use when resolving relative module IDs.\n"
},
"type": {
"type": "reflection",
"declaration": {
"id": 2425,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2426,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "load/webpack.ts",
"line": 99,
"character": 44
}
]
}
}
},
{
"id": 2427,
"name": "mids",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
]
}
},
{
"id": 2428,
"name": "load",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2429,
"name": "mids",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
]
}
}
],
"sources": [
{
"fileName": "load/webpack.ts",
"line": 99,
"character": 28
},
{
"fileName": "load/webpack.ts",
"line": 100,
"character": 28
},
{
"fileName": "load/webpack.ts",
"line": 101,
"character": 28
}
]
},
{
"id": 2413,
"name": "resolveRelative",
"kind": 64,
"kindString": "Function",
"flags": {
"isPrivate": true,
"__visited__": true
},
"signatures": [
{
"id": 2414,
"name": "resolveRelative",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isPrivate": true,
"__visited__": true
},
"comment": {
"returns": "\nThe resolved absolute module path.\n"
},
"parameters": [
{
"id": 2415,
"name": "base",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "\nThe absolute base path.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2416,
"name": "mid",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "\nThe relative module ID\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "load/webpack.ts",
"line": 39,
"character": 24
}
]
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
2403,
2397,
2407
]
},
{
"title": "Variables",
"kind": 32,
"children": [
2411,
2412
]
},
{
"title": "Functions",
"kind": 64,
"children": [
2417,
2422,
2413
]
}
],
"sources": [
{
"fileName": "load/webpack.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 2318,
"name": "\"main\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/main.ts",
"children": [
{
"id": 2319,
"name": "async",
"kind": 2097152,
"kindString": "Object literal",
"flags": {
"isConst": true,
"__visited__": true
},
"children": [
{
"id": 2321,
"name": "Task",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "main.ts",
"line": 24,
"character": 5
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430
}
},
{
"id": 2320,
"name": "iteration",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "main.ts",
"line": 23,
"character": 10
}
],
"type": {
"type": "reference",
"name": "\"src/async/iteration\"",
"id": 2125
}
},
{
"id": 2322,
"name": "timing",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "main.ts",
"line": 25,
"character": 7
}
],
"type": {
"type": "reference",
"name": "\"src/async/timing\"",
"id": 2243
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
2321,
2320,
2322
]
}
],
"sources": [
{
"fileName": "main.ts",
"line": 22,
"character": 11
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
}
],
"groups": [
{
"title": "Object literals",
"kind": 2097152,
"children": [
2319
]
}
],
"sources": [
{
"fileName": "main.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1240,
"name": "\"on\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/on.ts",
"children": [
{
"id": 1254,
"name": "DOMEventObject",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1257,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 1255,
"name": "bubbles",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "on.ts",
"line": 15,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 1256,
"name": "cancelable",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "on.ts",
"line": 16,
"character": 11
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 1258,
"name": "type",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "The type of the event"
},
"sources": [
{
"fileName": "interfaces.ts",
"line": 10,
"character": 14
}
],
"type": {
"type": "typeParameter",
"name": "T"
},
"inheritedFrom": {
"type": "reference",
"name": "EventObject.type",
"id": 4
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1255,
1256,
1258
]
}
],
"sources": [
{
"fileName": "on.ts",
"line": 14,
"character": 24
}
],
"extendedTypes": [
{
"type": "reference",
"name": "EventObject",
"id": 2
}
]
},
{
"id": 1241,
"name": "EventCallback",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 1242,
"name": "O",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"signatures": [
{
"id": 1243,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1244,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "O"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "on.ts",
"line": 5,
"character": 30
}
]
},
{
"id": 1245,
"name": "EventEmitter",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 1246,
"name": "on",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1247,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1248,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1249,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241
}
}
],
"type": {
"type": "reference",
"name": "EventEmitter",
"id": 1245
}
}
],
"sources": [
{
"fileName": "on.ts",
"line": 10,
"character": 3
}
]
},
{
"id": 1250,
"name": "removeListener",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1251,
"name": "removeListener",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1252,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1253,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241
}
}
],
"type": {
"type": "reference",
"name": "EventEmitter",
"id": 1245
}
}
],
"sources": [
{
"fileName": "on.ts",
"line": 11,
"character": 15
}
]
}
],
"groups": [
{
"title": "Methods",
"kind": 2048,
"children": [
1246,
1250
]
}
],
"sources": [
{
"fileName": "on.ts",
"line": 9,
"character": 29
}
]
},
{
"id": 1259,
"name": "PausableHandle",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 1264,
"name": "destroy",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1265,
"name": "destroy",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Perform the destruction/cleanup logic associated with this handle"
},
"type": {
"type": "intrinsic",
"name": "void"
},
"inheritedFrom": {
"type": "reference",
"name": "Handle.destroy",
"id": 17
}
}
],
"sources": [
{
"fileName": "interfaces.ts",
"line": 50,
"character": 8
}
],
"inheritedFrom": {
"type": "reference",
"name": "Handle.destroy",
"id": 17
}
},
{
"id": 1260,
"name": "pause",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1261,
"name": "pause",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "on.ts",
"line": 177,
"character": 6
}
]
},
{
"id": 1262,
"name": "resume",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1263,
"name": "resume",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "on.ts",
"line": 178,
"character": 7
}
]
}
],
"groups": [
{
"title": "Methods",
"kind": 2048,
"children": [
1264,
1260,
1262
]
}
],
"sources": [
{
"fileName": "on.ts",
"line": 176,
"character": 31
}
],
"extendedTypes": [
{
"type": "reference",
"name": "Handle",
"id": 16
}
]
},
{
"id": 1266,
"name": "emit",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1267,
"name": "emit",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Provides a normalized mechanism for dispatching events for event emitters, Evented objects, or DOM nodes.",
"returns": "Boolean indicating if preventDefault was called on the event object (only relevant for DOM events;\n always false for other event emitters)\n"
},
"typeParameter": [
{
"id": 1268,
"name": "M",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
},
{
"id": 1269,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1270,
"name": "O",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
},
{
"id": 1271,
"name": "K",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M"
}
}
}
],
"parameters": [
{
"id": 1272,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The target to emit the event from"
},
"type": {
"type": "reference",
"name": "Evented",
"id": 982,
"typeArguments": [
{
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
},
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
},
{
"id": 1273,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The event object to emit"
},
"type": {
"type": "unknown",
"name": "M[K]"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 1274,
"name": "emit",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1275,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1276,
"name": "O",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"parameters": [
{
"id": 1277,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Evented",
"id": 982,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
},
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
},
{
"id": 1278,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 1279,
"name": "emit",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1280,
"name": "O",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"parameters": [
{
"id": 1281,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "EventTarget"
},
{
"type": "reference",
"name": "EventEmitter",
"id": 1245
}
]
}
},
{
"id": 1282,
"name": "event",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "on.ts",
"line": 26,
"character": 20
},
{
"fileName": "on.ts",
"line": 32,
"character": 20
},
{
"fileName": "on.ts",
"line": 33,
"character": 20
},
{
"fileName": "on.ts",
"line": 37,
"character": 20
}
]
},
{
"id": 1283,
"name": "on",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1284,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Provides a normalized mechanism for listening to events from event emitters, Evented objects, or DOM nodes.",
"returns": "A handle which will remove the listener when destroy is called\n"
},
"typeParameter": [
{
"id": 1285,
"name": "M",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
},
{
"id": 1286,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1287,
"name": "K",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M"
}
}
},
{
"id": 1288,
"name": "O",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"parameters": [
{
"id": 1289,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Target to listen for event on"
},
"type": {
"type": "reference",
"name": "Evented",
"id": 982,
"typeArguments": [
{
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
},
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
},
{
"id": 1290,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Event event type(s) to listen for; may a string or an array of strings"
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "K",
"constraint": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M"
}
}
},
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "K",
"constraint": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M"
}
}
}
}
]
}
},
{
"id": 1291,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Callback to handle the event when it fires"
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241,
"typeArguments": [
{
"type": "unknown",
"name": "M[K]"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
},
{
"id": 1292,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1293,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1294,
"name": "O",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"parameters": [
{
"id": 1295,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Evented",
"id": 982,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
},
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
},
{
"id": 1296,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
}
},
{
"id": 1297,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241,
"typeArguments": [
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
},
{
"id": 1298,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1299,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventEmitter",
"id": 1245
}
},
{
"id": 1300,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 1301,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
},
{
"id": 1302,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1303,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventTarget"
}
},
{
"id": 1304,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 1305,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241
}
},
{
"id": 1306,
"name": "capture",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "on.ts",
"line": 83,
"character": 26
},
{
"fileName": "on.ts",
"line": 89,
"character": 26
},
{
"fileName": "on.ts",
"line": 94,
"character": 26
},
{
"fileName": "on.ts",
"line": 95,
"character": 26
},
{
"fileName": "on.ts",
"line": 101,
"character": 26
}
]
},
{
"id": 1307,
"name": "once",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1308,
"name": "once",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Provides a mechanism for listening to the next occurrence of an event from event\nemitters, Evented objects, or DOM nodes.",
"returns": "A handle which will remove the listener when destroy is called\n"
},
"typeParameter": [
{
"id": 1309,
"name": "M",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
},
{
"id": 1310,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1311,
"name": "K",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M"
}
}
},
{
"id": 1312,
"name": "O",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"parameters": [
{
"id": 1313,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Target to listen for event on"
},
"type": {
"type": "reference",
"name": "Evented",
"id": 982,
"typeArguments": [
{
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
},
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
},
{
"id": 1314,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Event event type(s) to listen for; may be a string or an array of strings"
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "K",
"constraint": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M"
}
}
},
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "K",
"constraint": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M"
}
}
}
}
]
}
},
{
"id": 1315,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Callback to handle the event when it fires"
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241,
"typeArguments": [
{
"type": "unknown",
"name": "M[K]"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
},
{
"id": 1316,
"name": "once",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1317,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1318,
"name": "O",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"parameters": [
{
"id": 1319,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Evented",
"id": 982,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
},
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
},
{
"id": 1320,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
}
},
{
"id": 1321,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241,
"typeArguments": [
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
},
{
"id": 1322,
"name": "once",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1323,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventTarget"
}
},
{
"id": 1324,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 1325,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241
}
},
{
"id": 1326,
"name": "capture",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
},
{
"id": 1327,
"name": "once",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1328,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventEmitter",
"id": 1245
}
},
{
"id": 1329,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 1330,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "on.ts",
"line": 147,
"character": 20
},
{
"fileName": "on.ts",
"line": 153,
"character": 20
},
{
"fileName": "on.ts",
"line": 158,
"character": 20
},
{
"fileName": "on.ts",
"line": 159,
"character": 20
},
{
"fileName": "on.ts",
"line": 160,
"character": 20
}
]
},
{
"id": 1331,
"name": "pausable",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1332,
"name": "pausable",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Provides a mechanism for creating pausable listeners for events from event emitters, Evented objects, or DOM nodes.",
"returns": "A handle with additional pause and resume methods; the listener will never fire when paused\n"
},
"typeParameter": [
{
"id": 1333,
"name": "M",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
},
{
"id": 1334,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1335,
"name": "K",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M"
}
}
},
{
"id": 1336,
"name": "O",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"parameters": [
{
"id": 1337,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Target to listen for event on"
},
"type": {
"type": "reference",
"name": "Evented",
"id": 982,
"typeArguments": [
{
"type": "typeParameter",
"name": "M",
"constraint": {
"type": "reference",
"name": "CustomEventTypes",
"id": 978
}
},
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
},
{
"id": 1338,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Event event type(s) to listen for; may a string or an array of strings"
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "K",
"constraint": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M"
}
}
},
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "K",
"constraint": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "M"
}
}
}
}
]
}
},
{
"id": 1339,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Callback to handle the event when it fires"
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241,
"typeArguments": [
{
"type": "unknown",
"name": "M[K]"
}
]
}
}
],
"type": {
"type": "reference",
"name": "PausableHandle",
"id": 1259
}
},
{
"id": 1340,
"name": "pausable",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1341,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
},
{
"id": 1342,
"name": "O",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"parameters": [
{
"id": 1343,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Evented",
"id": 982,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
},
{
"type": "typeParameter",
"name": "T"
},
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
},
{
"id": 1344,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "T"
},
{
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
]
}
},
{
"id": 1345,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241,
"typeArguments": [
{
"type": "typeParameter",
"name": "O",
"constraint": {
"type": "reference",
"name": "EventObject",
"id": 2,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"name": "PausableHandle",
"id": 1259
}
},
{
"id": 1346,
"name": "pausable",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1347,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventTarget"
}
},
{
"id": 1348,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 1349,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241
}
},
{
"id": 1350,
"name": "capture",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
}
],
"type": {
"type": "reference",
"name": "PausableHandle",
"id": 1259
}
},
{
"id": 1351,
"name": "pausable",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1352,
"name": "target",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventEmitter",
"id": 1245
}
},
{
"id": 1353,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
}
},
{
"id": 1354,
"name": "listener",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "EventCallback",
"id": 1241
}
}
],
"type": {
"type": "reference",
"name": "PausableHandle",
"id": 1259
}
}
],
"sources": [
{
"fileName": "on.ts",
"line": 189,
"character": 24
},
{
"fileName": "on.ts",
"line": 195,
"character": 24
},
{
"fileName": "on.ts",
"line": 200,
"character": 24
},
{
"fileName": "on.ts",
"line": 206,
"character": 24
},
{
"fileName": "on.ts",
"line": 207,
"character": 24
}
]
}
],
"groups": [
{
"title": "Interfaces",
"kind": 256,
"children": [
1254,
1241,
1245,
1259
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1266,
1283,
1307,
1331
]
}
],
"sources": [
{
"fileName": "on.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1355,
"name": "\"queue\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/queue.ts",
"sources": [
{
"fileName": "queue.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1985,
"name": "\"request\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/request.ts",
"children": [
{
"id": 1986,
"name": "providerRegistry",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true,
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "request.ts",
"line": 7,
"character": 29
}
],
"type": {
"type": "reference",
"name": "ProviderRegistry",
"id": 1600
},
"defaultValue": " new ProviderRegistry()"
},
{
"id": 1987,
"name": "request",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true,
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "request.ts",
"line": 9,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 1988,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1989,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1990,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1991,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "RequestOptions"
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "Response"
}
]
}
}
],
"children": [
{
"id": 1992,
"name": "delete",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1993,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1994,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1995,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "RequestOptions"
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "Response"
}
]
}
}
],
"sources": [
{
"fileName": "request.ts",
"line": 11,
"character": 7
}
]
},
{
"id": 1996,
"name": "get",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1997,
"name": "get",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1998,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1999,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "RequestOptions"
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "Response"
}
]
}
}
],
"sources": [
{
"fileName": "request.ts",
"line": 12,
"character": 4
}
]
},
{
"id": 2000,
"name": "head",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2001,
"name": "head",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2002,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2003,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "RequestOptions"
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "Response"
}
]
}
}
],
"sources": [
{
"fileName": "request.ts",
"line": 13,
"character": 5
}
]
},
{
"id": 2004,
"name": "options",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2005,
"name": "options",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2006,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2007,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "RequestOptions"
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "Response"
}
]
}
}
],
"sources": [
{
"fileName": "request.ts",
"line": 14,
"character": 8
}
]
},
{
"id": 2008,
"name": "post",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2009,
"name": "post",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2010,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2011,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "RequestOptions"
}
}
],
"type": {
"type": "reference",
"name": "UploadObservableTask",
"typeArguments": [
{
"type": "reference",
"name": "Response"
}
]
}
}
],
"sources": [
{
"fileName": "request.ts",
"line": 15,
"character": 5
}
]
},
{
"id": 2012,
"name": "put",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2013,
"name": "put",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2014,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2015,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "RequestOptions"
}
}
],
"type": {
"type": "reference",
"name": "UploadObservableTask",
"typeArguments": [
{
"type": "reference",
"name": "Response"
}
]
}
}
],
"sources": [
{
"fileName": "request.ts",
"line": 16,
"character": 4
}
]
},
{
"id": 2016,
"name": "setDefaultProvider",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2017,
"name": "setDefaultProvider",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2018,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Provider"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "request.ts",
"line": 18,
"character": 19
}
]
}
],
"groups": [
{
"title": "Functions",
"kind": 64,
"children": [
1992,
1996,
2000,
2004,
2008,
2012,
2016
]
}
],
"sources": [
{
"fileName": "request.ts",
"line": 9,
"character": 14
}
]
}
},
"defaultValue": " <any>function request(url: string, options: RequestOptions = {}): Task<Response> {\n\ttry {\n\t\treturn providerRegistry.match(url, options)(url, options);\n\t} catch (error) {\n\t\treturn Task.reject<Response>(error);\n\t}\n}"
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
1986,
1987
]
}
],
"sources": [
{
"fileName": "request.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1658,
"name": "\"request/Headers\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/request/Headers.ts",
"children": [
{
"id": 1659,
"name": "Headers",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 1661,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1662,
"name": "new Headers",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1663,
"name": "headers",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 1664,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 1665,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1666,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 16,
"character": 22
}
]
}
},
{
"type": "reference",
"name": "HeadersInterface"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Headers",
"id": 1659
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 14,
"character": 45
}
]
},
{
"id": 1660,
"name": "map",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/Headers.ts",
"line": 14,
"character": 14
}
],
"type": {
"type": "reference",
"name": "Map",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
]
},
"defaultValue": " new Map<string, string[]>()"
},
{
"id": 1693,
"name": "__@iterator",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1694,
"name": "__@iterator",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "intrinsic",
"name": "Object"
}
]
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 96,
"character": 18
}
]
},
{
"id": 1667,
"name": "append",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1668,
"name": "append",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1669,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1670,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 32,
"character": 7
}
]
},
{
"id": 1671,
"name": "delete",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1672,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1673,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 42,
"character": 7
}
]
},
{
"id": 1674,
"name": "entries",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1675,
"name": "entries",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "tuple",
"elements": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 46,
"character": 8
}
]
},
{
"id": 1676,
"name": "get",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1677,
"name": "get",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1678,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 56,
"character": 4
}
]
},
{
"id": 1679,
"name": "getAll",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1680,
"name": "getAll",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1681,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "string"
}
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 66,
"character": 7
}
]
},
{
"id": 1682,
"name": "has",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1683,
"name": "has",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1684,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 76,
"character": 4
}
]
},
{
"id": 1685,
"name": "keys",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1686,
"name": "keys",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 80,
"character": 5
}
]
},
{
"id": 1687,
"name": "set",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1688,
"name": "set",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1689,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1690,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 84,
"character": 4
}
]
},
{
"id": 1691,
"name": "values",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1692,
"name": "values",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IterableIterator",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 88,
"character": 7
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1661
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
1660
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1693,
1667,
1671,
1674,
1676,
1679,
1682,
1685,
1687,
1691
]
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 13,
"character": 28
}
],
"implementedTypes": [
{
"type": "reference",
"name": "Headers"
}
]
},
{
"id": 1695,
"name": "isHeadersLike",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1696,
"name": "isHeadersLike",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1697,
"name": "object",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 5,
"character": 22
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1659
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1695
]
}
],
"sources": [
{
"fileName": "request/Headers.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1599,
"name": "\"request/ProviderRegistry\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/request/ProviderRegistry.ts",
"children": [
{
"id": 1600,
"name": "ProviderRegistry",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 1610,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Construct a new MatchRegistry, optionally containing a given default value."
},
"signatures": [
{
"id": 1611,
"name": "new ProviderRegistry",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Construct a new MatchRegistry, optionally containing a given default value."
},
"parameters": [
{
"id": 1612,
"name": "defaultValue",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "T",
"id": 3
}
}
],
"type": {
"type": "reference",
"name": "ProviderRegistry",
"id": 1600
},
"inheritedFrom": {
"type": "reference",
"name": "MatchRegistry.__constructor",
"id": 1226
}
}
],
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 17,
"character": 46
}
],
"inheritedFrom": {
"type": "reference",
"name": "MatchRegistry.__constructor",
"id": 1226
}
},
{
"id": 1609,
"name": "_defaultValue",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isProtected": true,
"__visited__": true
},
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 16,
"character": 24
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Provider"
},
{
"type": "intrinsic",
"name": "undefined"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "MatchRegistry._defaultValue",
"id": 1225
}
},
{
"id": 1613,
"name": "match",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1614,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Return the first entry in this registry that matches the given arguments. If no entry matches and the registry\nwas created with a default value, that value will be returned. Otherwise, an exception is thrown.",
"returns": "the matching value, or a default value if one exists.\n"
},
"parameters": [
{
"id": 1615,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "reference",
"name": "Provider"
},
"inheritedFrom": {
"type": "reference",
"name": "MatchRegistry.match",
"id": 1229
}
}
],
"sources": [
{
"fileName": "MatchRegistry.ts",
"line": 34,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
"name": "MatchRegistry.match",
"id": 1229
}
},
{
"id": 1604,
"name": "register",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1605,
"name": "register",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1606,
"name": "test",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"name": "RegExp"
},
{
"type": "reference",
"name": "ProviderTest"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 1607,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Provider"
}
},
{
"id": 1608,
"name": "first",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
},
"overwrites": {
"type": "reference",
"name": "MatchRegistry.register",
"id": 1232
}
}
],
"sources": [
{
"fileName": "request/ProviderRegistry.ts",
"line": 10,
"character": 9
}
],
"overwrites": {
"type": "reference",
"name": "MatchRegistry.register",
"id": 1232
}
},
{
"id": 1601,
"name": "setDefaultProvider",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1602,
"name": "setDefaultProvider",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1603,
"name": "provider",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Provider"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "request/ProviderRegistry.ts",
"line": 6,
"character": 19
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1610
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
1609
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1613,
1604,
1601
]
}
],
"sources": [
{
"fileName": "request/ProviderRegistry.ts",
"line": 5,
"character": 37
}
],
"extendedTypes": [
{
"type": "reference",
"name": "MatchRegistry",
"id": 1223,
"typeArguments": [
{
"type": "reference",
"name": "Provider"
}
]
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1600
]
}
],
"sources": [
{
"fileName": "request/ProviderRegistry.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1698,
"name": "\"request/Response\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/request/Response.ts",
"children": [
{
"id": 1702,
"name": "Response",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"children": [
{
"id": 1708,
"name": "bodyUsed",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/Response.ts",
"line": 17,
"character": 27
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 1711,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/Response.ts",
"line": 21,
"character": 23
}
],
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
},
{
"id": 1710,
"name": "download",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/Response.ts",
"line": 20,
"character": 27
}
],
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1703,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/Response.ts",
"line": 12,
"character": 26
}
],
"type": {
"type": "reference",
"name": "Headers"
}
},
{
"id": 1704,
"name": "ok",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/Response.ts",
"line": 13,
"character": 21
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
},
{
"id": 1709,
"name": "requestOptions",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/Response.ts",
"line": 18,
"character": 33
}
],
"type": {
"type": "reference",
"name": "RequestOptions"
}
},
{
"id": 1705,
"name": "status",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/Response.ts",
"line": 14,
"character": 25
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1706,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/Response.ts",
"line": 15,
"character": 29
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1707,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/Response.ts",
"line": 16,
"character": 22
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1715,
"name": "arrayBuffer",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"signatures": [
{
"id": 1716,
"name": "arrayBuffer",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "ArrayBuffer"
}
]
}
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 27,
"character": 21
}
]
},
{
"id": 1717,
"name": "blob",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"signatures": [
{
"id": 1718,
"name": "blob",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "Blob"
}
]
}
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 28,
"character": 14
}
]
},
{
"id": 1719,
"name": "formData",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"signatures": [
{
"id": 1720,
"name": "formData",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "FormData"
}
]
}
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 29,
"character": 18
}
]
},
{
"id": 1712,
"name": "json",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1713,
"name": "json",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1714,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 23,
"character": 5
}
]
},
{
"id": 1721,
"name": "text",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"isAbstract": true,
"__visited__": true
},
"signatures": [
{
"id": 1722,
"name": "text",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 30,
"character": 14
}
]
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1708,
1711,
1710,
1703,
1704,
1709,
1705,
1706,
1707
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1715,
1717,
1719,
1712,
1721
]
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 11,
"character": 23
}
],
"extendedBy": [
{
"type": "reference",
"name": "XhrResponse",
"id": 1790
},
{
"type": "reference",
"name": "NodeResponse",
"id": 1925
}
],
"implementedTypes": [
{
"type": "reference",
"name": "Response"
}
]
},
{
"id": 1699,
"name": "ResponseData",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 1700,
"name": "task",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/Response.ts",
"line": 7,
"character": 5
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
},
{
"id": 1701,
"name": "used",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/Response.ts",
"line": 8,
"character": 5
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1700,
1701
]
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 6,
"character": 29
}
]
},
{
"id": 1730,
"name": "getArrayBufferFromBlob",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1731,
"name": "getArrayBufferFromBlob",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1732,
"name": "blob",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Blob"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "reference",
"name": "ArrayBuffer"
}
]
}
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 53,
"character": 38
}
]
},
{
"id": 1723,
"name": "getFileReaderPromise",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1724,
"name": "getFileReaderPromise",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1725,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"parameters": [
{
"id": 1726,
"name": "reader",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "FileReader"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 35,
"character": 36
}
]
},
{
"id": 1733,
"name": "getTextFromArrayBuffer",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1734,
"name": "getTextFromArrayBuffer",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1735,
"name": "buffer",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "ArrayBuffer"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 60,
"character": 38
}
]
},
{
"id": 1727,
"name": "getTextFromBlob",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1728,
"name": "getTextFromBlob",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1729,
"name": "blob",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Blob"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 46,
"character": 31
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1702
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
1699
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1730,
1723,
1733,
1727
]
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1736,
"name": "\"request/SubscriptionPool\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/request/SubscriptionPool.ts",
"children": [
{
"id": 1737,
"name": "SubscriptionPool",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"typeParameter": [
{
"id": 1738,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"children": [
{
"id": 1739,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1740,
"name": "new SubscriptionPool",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1741,
"name": "maxLength",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "number"
},
"defaultValue": "10"
}
],
"type": {
"type": "reference",
"name": "SubscriptionPool",
"id": 1737
}
}
],
"sources": [
{
"fileName": "request/SubscriptionPool.ts",
"line": 6,
"character": 33
}
]
},
{
"id": 1742,
"name": "add",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1743,
"name": "add",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1744,
"name": "subscription",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "SubscriptionObserver",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
}
}
],
"type": {
"type": "reference",
"name": "(Anonymous function)"
}
}
],
"sources": [
{
"fileName": "request/SubscriptionPool.ts",
"line": 12,
"character": 4
}
]
},
{
"id": 1748,
"name": "complete",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1749,
"name": "complete",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "request/SubscriptionPool.ts",
"line": 39,
"character": 9
}
]
},
{
"id": 1745,
"name": "next",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1746,
"name": "next",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1747,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "typeParameter",
"name": "T"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "request/SubscriptionPool.ts",
"line": 24,
"character": 5
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1739
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1742,
1748,
1745
]
}
],
"sources": [
{
"fileName": "request/SubscriptionPool.ts",
"line": 3,
"character": 37
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1737
]
}
],
"sources": [
{
"fileName": "request/SubscriptionPool.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1750,
"name": "\"request/TimeoutError\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/request/TimeoutError.ts",
"children": [
{
"id": 1751,
"name": "TimeoutError",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"children": [
{
"id": 1755,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1756,
"name": "new TimeoutError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1757,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"type": {
"type": "reference",
"name": "TimeoutError",
"id": 1751
}
}
],
"sources": [
{
"fileName": "request/TimeoutError.ts",
"line": 6,
"character": 2
}
]
},
{
"id": 1752,
"name": "message",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/TimeoutError.ts",
"line": 2,
"character": 17
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1753,
"name": "name",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1754,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "request/TimeoutError.ts",
"line": 4,
"character": 9
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1755
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
1752
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
1753
]
}
],
"sources": [
{
"fileName": "request/TimeoutError.ts",
"line": 1,
"character": 33
}
],
"implementedTypes": [
{
"type": "reference",
"name": "Error"
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1751
]
}
],
"sources": [
{
"fileName": "request/TimeoutError.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1837,
"name": "\"request/providers/node\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/request/providers/node.ts",
"children": [
{
"id": 1925,
"name": "NodeResponse",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Turn a node native response object into something that resembles the fetch api"
},
"children": [
{
"id": 1943,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1944,
"name": "new NodeResponse",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1945,
"name": "response",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IncomingMessage"
}
}
],
"type": {
"type": "reference",
"name": "NodeResponse",
"id": 1925
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 242,
"character": 2
}
]
},
{
"id": 1930,
"name": "downloadBody",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 218,
"character": 13
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "true"
},
{
"id": 1926,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 213,
"character": 17
}
],
"type": {
"type": "reference",
"name": "Headers",
"id": 1659
},
"overwrites": {
"type": "reference",
"name": "Response.headers",
"id": 1703
}
},
{
"id": 1927,
"name": "ok",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 214,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"overwrites": {
"type": "reference",
"name": "Response.ok",
"id": 1704
}
},
{
"id": 1928,
"name": "status",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 215,
"character": 16
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"overwrites": {
"type": "reference",
"name": "Response.status",
"id": 1705
}
},
{
"id": 1929,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 216,
"character": 20
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"name": "Response.statusText",
"id": 1706
}
},
{
"id": 1931,
"name": "bodyUsed",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1932,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
},
"overwrites": {
"type": "reference",
"name": "Response.bodyUsed",
"id": 1708
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 220,
"character": 13
}
],
"overwrites": {
"type": "reference",
"name": "Response.bodyUsed",
"id": 1708
}
},
{
"id": 1941,
"name": "data",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1942,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
},
"overwrites": {
"type": "reference",
"name": "Response.data",
"id": 1711
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 240,
"character": 9
}
],
"overwrites": {
"type": "reference",
"name": "Response.data",
"id": 1711
}
},
{
"id": 1939,
"name": "download",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1940,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
]
},
"overwrites": {
"type": "reference",
"name": "Response.download",
"id": 1710
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 236,
"character": 13
}
],
"overwrites": {
"type": "reference",
"name": "Response.download",
"id": 1710
}
},
{
"id": 1933,
"name": "nativeResponse",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1934,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "IncomingMessage"
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 224,
"character": 19
}
]
},
{
"id": 1935,
"name": "requestOptions",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1936,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "NodeRequestOptions",
"id": 1838
},
"overwrites": {
"type": "reference",
"name": "Response.requestOptions",
"id": 1709
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 228,
"character": 19
}
],
"overwrites": {
"type": "reference",
"name": "Response.requestOptions",
"id": 1709
}
},
{
"id": 1937,
"name": "url",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1938,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"name": "Response.url",
"id": 1707
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 232,
"character": 8
}
],
"overwrites": {
"type": "reference",
"name": "Response.url",
"id": 1707
}
},
{
"id": 1946,
"name": "arrayBuffer",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1947,
"name": "arrayBuffer",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "ArrayBuffer"
}
]
},
"overwrites": {
"type": "reference",
"name": "Response.arrayBuffer",
"id": 1715
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 265,
"character": 12
}
],
"overwrites": {
"type": "reference",
"name": "Response.arrayBuffer",
"id": 1715
}
},
{
"id": 1948,
"name": "blob",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1949,
"name": "blob",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "Blob"
}
]
},
"overwrites": {
"type": "reference",
"name": "Response.blob",
"id": 1717
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 275,
"character": 5
}
],
"overwrites": {
"type": "reference",
"name": "Response.blob",
"id": 1717
}
},
{
"id": 1950,
"name": "formData",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1951,
"name": "formData",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "FormData"
}
]
},
"overwrites": {
"type": "reference",
"name": "Response.formData",
"id": 1719
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 280,
"character": 9
}
],
"overwrites": {
"type": "reference",
"name": "Response.formData",
"id": 1719
}
},
{
"id": 1954,
"name": "json",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1955,
"name": "json",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1956,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Response.json",
"id": 1712
}
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 23,
"character": 5
}
],
"inheritedFrom": {
"type": "reference",
"name": "Response.json",
"id": 1712
}
},
{
"id": 1952,
"name": "text",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1953,
"name": "text",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
},
"overwrites": {
"type": "reference",
"name": "Response.text",
"id": 1721
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 284,
"character": 5
}
],
"overwrites": {
"type": "reference",
"name": "Response.text",
"id": 1721
}
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1943
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
1930,
1926,
1927,
1928,
1929
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
1931,
1941,
1939,
1933,
1935,
1937
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1946,
1948,
1950,
1954,
1952
]
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 212,
"character": 25
}
],
"extendedTypes": [
{
"type": "reference",
"name": "Response",
"id": 1702
}
],
"implementedTypes": [
{
"type": "reference",
"name": "Response"
}
]
},
{
"id": 1892,
"name": "HttpsOptions",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "HTTPS specific options for node"
},
"children": [
{
"id": 1901,
"name": "agent",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 137,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "any"
},
"inheritedFrom": {
"type": "reference",
"name": "Options.agent",
"id": 1879
}
},
{
"id": 1902,
"name": "auth",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 138,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Options.auth",
"id": 1880
}
},
{
"id": 1893,
"name": "ca",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 153,
"character": 3
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1894,
"name": "cert",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 154,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1895,
"name": "ciphers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 155,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1903,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 139,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 1904,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 1905,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1906,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
}
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Options.headers",
"id": 1881
}
},
{
"id": 1907,
"name": "host",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 140,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Options.host",
"id": 1885
}
},
{
"id": 1908,
"name": "hostname",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 141,
"character": 9
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Options.hostname",
"id": 1886
}
},
{
"id": 1896,
"name": "key",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 156,
"character": 4
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1909,
"name": "localAddress",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 142,
"character": 13
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Options.localAddress",
"id": 1887
}
},
{
"id": 1910,
"name": "method",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 143,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Options.method",
"id": 1888
}
},
{
"id": 1897,
"name": "passphrase",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 157,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1911,
"name": "path",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 144,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Options.path",
"id": 1889
}
},
{
"id": 1898,
"name": "pfx",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 158,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1912,
"name": "port",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 145,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Options.port",
"id": 1890
}
},
{
"id": 1899,
"name": "rejectUnauthorized",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 159,
"character": 19
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 1900,
"name": "secureProtocol",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 160,
"character": 15
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1913,
"name": "socketPath",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 146,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Options.socketPath",
"id": 1891
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1901,
1902,
1893,
1894,
1895,
1903,
1907,
1908,
1896,
1909,
1910,
1897,
1911,
1898,
1912,
1899,
1900,
1913
]
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 152,
"character": 22
}
],
"extendedTypes": [
{
"type": "reference",
"name": "Options",
"id": 1878
}
]
},
{
"id": 1838,
"name": "NodeRequestOptions",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Request options specific to a node request. For HTTPS options, see\nhttps://nodejs.org/api/tls.html#tls_tls_connect_options_callback for more details."
},
"children": [
{
"id": 1854,
"name": "acceptCompression",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Whether or not to add the gzip and deflate accept headers (default true)"
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 85,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 1839,
"name": "agent",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "User-agent header"
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 28,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1868,
"name": "body",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Body to send along with the http request"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 47,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Blob"
},
{
"type": "reference",
"name": "BufferSource"
},
{
"type": "reference",
"name": "FormData"
},
{
"type": "reference",
"name": "UrlSearchParams",
"id": 1507
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.body"
}
},
{
"id": 1840,
"name": "bodyStream",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "If specified, the request body is read from the stream specified here, rather than from the `body` field."
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 32,
"character": 11
}
],
"type": {
"type": "reference",
"name": "Readable"
}
},
{
"id": 1841,
"name": "ca",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "HTTPS optionally override the trusted CA certificates"
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 36,
"character": 3
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1866,
"name": "cacheBust",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Enable cache busting (default false). Cache busting will make a new URL by appending a parameter to the\nrequested URL"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 42,
"character": 10
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.cacheBust"
}
},
{
"id": 1842,
"name": "cert",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "HTTPS optional cert chains in PEM format. One cert chain should be provided per private key."
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 40,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1843,
"name": "ciphers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "HTTPS optional cipher suite specification"
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 44,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1867,
"name": "credentials",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 43,
"character": 12
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "omit"
},
{
"type": "stringLiteral",
"value": "same-origin"
},
{
"type": "stringLiteral",
"value": "include"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.credentials"
}
},
{
"id": 1844,
"name": "dataEncoding",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 45,
"character": 13
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1845,
"name": "followRedirects",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Whether or not to automatically follow redirects (default true)"
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 49,
"character": 16
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 1869,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Headers to send along with the http request"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 51,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Headers"
},
{
"type": "reflection",
"declaration": {
"id": 1870,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 1871,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1872,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 51,
"character": 20
}
]
}
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.headers"
}
},
{
"id": 1846,
"name": "key",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "HTTPS optional private key in PEM format."
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 53,
"character": 4
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1847,
"name": "localAddress",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Local interface to bind for network connections."
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 57,
"character": 13
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1873,
"name": "method",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "HTTP method"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 55,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.method"
}
},
{
"id": 1848,
"name": "passphrase",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "HTTPS optional shared passphrase used for a single private key and/or a PFX."
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 61,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1874,
"name": "password",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Password for HTTP authentication"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 59,
"character": 9
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.password"
}
},
{
"id": 1849,
"name": "pfx",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "HTTPS optional PFX or PKCS12 encoded private key and certificate chain."
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 65,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1850,
"name": "proxy",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Optional proxy address. If specified, requests will be sent through this url."
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 69,
"character": 6
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1877,
"name": "query",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Optional query parameter(s) for the URL. The requested url will have these query parameters appended."
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 71,
"character": 6
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"name": "ParamList",
"id": 1536
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.query"
}
},
{
"id": 1861,
"name": "redirectOptions",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Options to control redirect follow logic"
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 110,
"character": 16
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 1862,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 1864,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 116,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1865,
"name": "keepOriginalMethod",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Whether or not to keep the original HTTP method during 301 redirects (default false)."
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 120,
"character": 20
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 1863,
"name": "limit",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "The limit to the number of redirects that will be followed (default 15). This is used to prevent infinite\nredirect loops."
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 115,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
1864,
1865,
1863
]
}
]
}
}
]
}
},
{
"id": 1851,
"name": "rejectUnauthorized",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "HTTPS If not false the server will reject any connection which is not authorized with the list of supplied CAs"
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 73,
"character": 19
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 1852,
"name": "secureProtocol",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "HTTPS optional SSL method to use, default is \"SSLv23_method\""
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 77,
"character": 15
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1855,
"name": "socketOptions",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "A set of options to set on the HTTP request"
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 89,
"character": 14
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 1856,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"children": [
{
"id": 1857,
"name": "keepAlive",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Enable/disable keep-alive functionality, and optionally set the initial delay before the first keepalive probe is sent on an idle socket."
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 93,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1858,
"name": "noDelay",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Disables the Nagle algorithm. By default TCP connections use the Nagle algorithm, they buffer data before sending it off."
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 97,
"character": 9
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 1859,
"name": "timeout",
"kind": 32,
"kindString": "Variable",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Number of milliseconds before the HTTP request times out"
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 101,
"character": 9
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
1857,
1858,
1859
]
}
]
}
}
]
}
},
{
"id": 1853,
"name": "socketPath",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Unix Domain Socket (use one of host:port or socketPath)"
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 81,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1860,
"name": "streamEncoding",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Stream encoding on incoming HTTP response"
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 106,
"character": 15
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1875,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Number of milliseconds before the request times out and is canceled"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 63,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.timeout"
}
},
{
"id": 1876,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "User for HTTP authentication"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 67,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.user"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1854,
1839,
1868,
1840,
1841,
1866,
1842,
1843,
1867,
1844,
1845,
1869,
1846,
1847,
1873,
1848,
1874,
1849,
1850,
1877,
1861,
1851,
1852,
1855,
1853,
1860,
1875,
1876
]
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 24,
"character": 35
}
],
"extendedTypes": [
{
"type": "reference",
"name": "RequestOptions"
}
]
},
{
"id": 1878,
"name": "Options",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Options to be passed to node's request"
},
"children": [
{
"id": 1879,
"name": "agent",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 137,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1880,
"name": "auth",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 138,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1881,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 139,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 1882,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 1883,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1884,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
}
}
]
}
},
{
"id": 1885,
"name": "host",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 140,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1886,
"name": "hostname",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 141,
"character": 9
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1887,
"name": "localAddress",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 142,
"character": 13
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1888,
"name": "method",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 143,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1889,
"name": "path",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 144,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 1890,
"name": "port",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 145,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1891,
"name": "socketPath",
"kind": 1024,
"kindString": "Property",
"flags": {
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 146,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1879,
1880,
1881,
1885,
1886,
1887,
1888,
1889,
1890,
1891
]
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 136,
"character": 17
}
],
"extendedBy": [
{
"type": "reference",
"name": "HttpsOptions",
"id": 1892
}
]
},
{
"id": 1914,
"name": "RequestData",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"children": [
{
"id": 1916,
"name": "buffer",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 165,
"character": 7
}
],
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
},
{
"id": 1917,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 166,
"character": 5
}
],
"type": {
"type": "reference",
"name": "Buffer"
}
},
{
"id": 1924,
"name": "dataObservable",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 173,
"character": 15
}
],
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
},
{
"id": 1923,
"name": "downloadObservable",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 172,
"character": 19
}
],
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1920,
"name": "nativeResponse",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 169,
"character": 15
}
],
"type": {
"type": "reference",
"name": "IncomingMessage"
}
},
{
"id": 1921,
"name": "requestOptions",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 170,
"character": 15
}
],
"type": {
"type": "reference",
"name": "NodeRequestOptions",
"id": 1838
}
},
{
"id": 1918,
"name": "size",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 167,
"character": 5
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 1915,
"name": "task",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 164,
"character": 5
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "IncomingMessage"
}
]
}
},
{
"id": 1922,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 171,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1919,
"name": "used",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 168,
"character": 5
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1916,
1917,
1924,
1923,
1920,
1921,
1918,
1915,
1922,
1919
]
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 163,
"character": 21
}
]
},
{
"id": 1958,
"name": "DEFAULT_REDIRECT_LIMIT",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"comment": {
"shortText": "If not overridden, redirects will only be processed this many times before aborting (per request).",
"tags": [
{
"tag": "type",
"text": "{number}\n"
}
]
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 131,
"character": 28
}
],
"type": {
"type": "unknown",
"name": "15"
},
"defaultValue": "15"
},
{
"id": 1959,
"name": "dataMap",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 176,
"character": 13
}
],
"type": {
"type": "reference",
"name": "WeakMap",
"typeArguments": [
{
"type": "reference",
"name": "NodeResponse",
"id": 1925
},
{
"type": "reference",
"name": "RequestData",
"id": 1914
}
]
},
"defaultValue": " new WeakMap<NodeResponse, RequestData>()"
},
{
"id": 1960,
"name": "discardedDuplicates",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 177,
"character": 25
}
],
"type": {
"type": "reference",
"name": "Set",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
},
"defaultValue": " new Set<string>([\n\t'age',\n\t'authorization',\n\t'content-length',\n\t'content-type',\n\t'etag',\n\t'expires',\n\t'from',\n\t'host',\n\t'if-modified-since',\n\t'if-unmodified-since',\n\t'last-modified',\n\t'location',\n\t'max-forwards',\n\t'proxy-authorization',\n\t'referer',\n\t'retry-after',\n\t'user-agent'\n])"
},
{
"id": 1957,
"name": "version",
"kind": 32,
"kindString": "Variable",
"flags": {
"isLet": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 125,
"character": 11
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"2.0.0-pre\""
},
{
"id": 1977,
"name": "getAuth",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1978,
"name": "getAuth",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1979,
"name": "proxyAuth",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
},
{
"id": 1980,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "NodeRequestOptions",
"id": 1838
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "undefined"
}
]
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 330,
"character": 23
}
]
},
{
"id": 1961,
"name": "getDataTask",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1962,
"name": "getDataTask",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1963,
"name": "response",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "NodeResponse",
"id": 1925
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "RequestData",
"id": 1914
}
]
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 197,
"character": 20
}
]
},
{
"id": 1981,
"name": "node",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1982,
"name": "node",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1983,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1984,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "NodeRequestOptions",
"id": 1838
},
"defaultValue": " {}"
}
],
"type": {
"type": "reference",
"name": "UploadObservableTask",
"typeArguments": [
{
"type": "reference",
"name": "NodeResponse",
"id": 1925
}
]
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 342,
"character": 28
}
]
},
{
"id": 1964,
"name": "redirect",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1965,
"name": "redirect",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1966,
"name": "resolve",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1967,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1968,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1969,
"name": "p",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 292,
"character": 9
}
]
}
}
},
{
"id": 1970,
"name": "reject",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1971,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1972,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1973,
"name": "_",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "Error"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 293,
"character": 8
}
]
}
}
},
{
"id": 1974,
"name": "originalUrl",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1975,
"name": "redirectUrl",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 1976,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "NodeRequestOptions",
"id": 1838
}
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 291,
"character": 17
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1925
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
1892,
1838,
1878,
1914
]
},
{
"title": "Variables",
"kind": 32,
"children": [
1958,
1959,
1960,
1957
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1977,
1961,
1981,
1964
]
}
],
"sources": [
{
"fileName": "request/providers/node.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1766,
"name": "\"request/providers/xhr\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/request/providers/xhr.ts",
"children": [
{
"id": 1790,
"name": "XhrResponse",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Wraps an XHR request in a response that mimics the fetch API"
},
"children": [
{
"id": 1807,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1808,
"name": "new XhrResponse",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1809,
"name": "request",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "XMLHttpRequest"
}
}
],
"type": {
"type": "reference",
"name": "XhrResponse",
"id": 1790
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 85,
"character": 2
}
]
},
{
"id": 1791,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 58,
"character": 17
}
],
"type": {
"type": "reference",
"name": "Headers",
"id": 1659
},
"overwrites": {
"type": "reference",
"name": "Response.headers",
"id": 1703
}
},
{
"id": 1792,
"name": "ok",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 59,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"overwrites": {
"type": "reference",
"name": "Response.ok",
"id": 1704
}
},
{
"id": 1793,
"name": "status",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 60,
"character": 16
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"overwrites": {
"type": "reference",
"name": "Response.status",
"id": 1705
}
},
{
"id": 1794,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 61,
"character": 20
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"name": "Response.statusText",
"id": 1706
}
},
{
"id": 1795,
"name": "bodyUsed",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1796,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "boolean"
},
"overwrites": {
"type": "reference",
"name": "Response.bodyUsed",
"id": 1708
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 63,
"character": 13
}
],
"overwrites": {
"type": "reference",
"name": "Response.bodyUsed",
"id": 1708
}
},
{
"id": 1805,
"name": "data",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1806,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
},
"overwrites": {
"type": "reference",
"name": "Response.data",
"id": 1711
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 83,
"character": 9
}
],
"overwrites": {
"type": "reference",
"name": "Response.data",
"id": 1711
}
},
{
"id": 1803,
"name": "download",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1804,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
]
},
"overwrites": {
"type": "reference",
"name": "Response.download",
"id": 1710
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 79,
"character": 13
}
],
"overwrites": {
"type": "reference",
"name": "Response.download",
"id": 1710
}
},
{
"id": 1797,
"name": "nativeResponse",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1798,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "XMLHttpRequest"
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 67,
"character": 19
}
]
},
{
"id": 1799,
"name": "requestOptions",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1800,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "XhrRequestOptions",
"id": 1767
},
"overwrites": {
"type": "reference",
"name": "Response.requestOptions",
"id": 1709
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 71,
"character": 19
}
],
"overwrites": {
"type": "reference",
"name": "Response.requestOptions",
"id": 1709
}
},
{
"id": 1801,
"name": "url",
"kind": 262144,
"kindString": "Accessor",
"flags": {
"isExported": true,
"__visited__": true
},
"getSignature": [
{
"id": 1802,
"name": "__get",
"kind": 524288,
"kindString": "Get signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
},
"overwrites": {
"type": "reference",
"name": "Response.url",
"id": 1707
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 75,
"character": 8
}
],
"overwrites": {
"type": "reference",
"name": "Response.url",
"id": 1707
}
},
{
"id": 1810,
"name": "arrayBuffer",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1811,
"name": "arrayBuffer",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "ArrayBuffer"
}
]
},
"overwrites": {
"type": "reference",
"name": "Response.arrayBuffer",
"id": 1715
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 109,
"character": 12
}
],
"overwrites": {
"type": "reference",
"name": "Response.arrayBuffer",
"id": 1715
}
},
{
"id": 1812,
"name": "blob",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1813,
"name": "blob",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "Blob"
}
]
},
"overwrites": {
"type": "reference",
"name": "Response.blob",
"id": 1717
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 113,
"character": 5
}
],
"overwrites": {
"type": "reference",
"name": "Response.blob",
"id": 1717
}
},
{
"id": 1814,
"name": "formData",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1815,
"name": "formData",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "FormData"
}
]
},
"overwrites": {
"type": "reference",
"name": "Response.formData",
"id": 1719
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 117,
"character": 9
}
],
"overwrites": {
"type": "reference",
"name": "Response.formData",
"id": 1719
}
},
{
"id": 1820,
"name": "json",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1821,
"name": "json",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"typeParameter": [
{
"id": 1822,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "Response.json",
"id": 1712
}
}
],
"sources": [
{
"fileName": "request/Response.ts",
"line": 23,
"character": 5
}
],
"inheritedFrom": {
"type": "reference",
"name": "Response.json",
"id": 1712
}
},
{
"id": 1816,
"name": "text",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1817,
"name": "text",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
]
},
"overwrites": {
"type": "reference",
"name": "Response.text",
"id": 1721
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 121,
"character": 5
}
],
"overwrites": {
"type": "reference",
"name": "Response.text",
"id": 1721
}
},
{
"id": 1818,
"name": "xml",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1819,
"name": "xml",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "Document"
}
]
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 127,
"character": 4
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
1807
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
1791,
1792,
1793,
1794
]
},
{
"title": "Accessors",
"kind": 262144,
"children": [
1795,
1805,
1803,
1797,
1799,
1801
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
1810,
1812,
1814,
1820,
1816,
1818
]
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 57,
"character": 24
}
],
"extendedTypes": [
{
"type": "reference",
"name": "Response",
"id": 1702
}
],
"implementedTypes": [
{
"type": "reference",
"name": "Response"
}
]
},
{
"id": 1782,
"name": "RequestData",
"kind": 256,
"kindString": "Interface",
"flags": {
"__visited__": true
},
"children": [
{
"id": 1789,
"name": "dataObservable",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 37,
"character": 15
}
],
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
]
}
},
{
"id": 1788,
"name": "downloadObservable",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 36,
"character": 19
}
],
"type": {
"type": "reference",
"name": "Observable",
"id": 1541,
"typeArguments": [
{
"type": "intrinsic",
"name": "number"
}
]
}
},
{
"id": 1786,
"name": "nativeResponse",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 34,
"character": 15
}
],
"type": {
"type": "reference",
"name": "XMLHttpRequest"
}
},
{
"id": 1785,
"name": "requestOptions",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 33,
"character": 15
}
],
"type": {
"type": "reference",
"name": "XhrRequestOptions",
"id": 1767
}
},
{
"id": 1783,
"name": "task",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 31,
"character": 5
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "XMLHttpRequest"
}
]
}
},
{
"id": 1787,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 35,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1784,
"name": "used",
"kind": 1024,
"kindString": "Property",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 32,
"character": 5
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1789,
1788,
1786,
1785,
1783,
1787,
1784
]
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 30,
"character": 21
}
]
},
{
"id": 1767,
"name": "XhrRequestOptions",
"kind": 256,
"kindString": "Interface",
"flags": {
"isExported": true,
"__visited__": true
},
"comment": {
"shortText": "Request options specific to an XHR request"
},
"children": [
{
"id": 1768,
"name": "blockMainThread",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Controls whether or not the request is synchronous (blocks the main thread) or asynchronous (default)."
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 22,
"character": 16
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 1772,
"name": "body",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Body to send along with the http request"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 47,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Blob"
},
{
"type": "reference",
"name": "BufferSource"
},
{
"type": "reference",
"name": "FormData"
},
{
"type": "reference",
"name": "UrlSearchParams",
"id": 1507
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.body"
}
},
{
"id": 1770,
"name": "cacheBust",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Enable cache busting (default false). Cache busting will make a new URL by appending a parameter to the\nrequested URL"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 42,
"character": 10
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.cacheBust"
}
},
{
"id": 1771,
"name": "credentials",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 43,
"character": 12
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "omit"
},
{
"type": "stringLiteral",
"value": "same-origin"
},
{
"type": "stringLiteral",
"value": "include"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.credentials"
}
},
{
"id": 1773,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Headers to send along with the http request"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 51,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "Headers"
},
{
"type": "reflection",
"declaration": {
"id": 1774,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 1775,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1776,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 51,
"character": 20
}
]
}
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.headers"
}
},
{
"id": 1769,
"name": "includeRequestedWithHeader",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Controls whether or not the X-Requested-With header is added to the request (default true). Set to false to not\ninclude the header."
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 27,
"character": 27
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "true"
},
{
"type": "intrinsic",
"name": "false"
}
]
}
},
{
"id": 1777,
"name": "method",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "HTTP method"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 55,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.method"
}
},
{
"id": 1778,
"name": "password",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Password for HTTP authentication"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 59,
"character": 9
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.password"
}
},
{
"id": 1781,
"name": "query",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Optional query parameter(s) for the URL. The requested url will have these query parameters appended."
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 71,
"character": 6
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "reference",
"name": "ParamList",
"id": 1536
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.query"
}
},
{
"id": 1779,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "Number of milliseconds before the request times out and is canceled"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 63,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.timeout"
}
},
{
"id": 1780,
"name": "user",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true,
"__visited__": true
},
"comment": {
"shortText": "User for HTTP authentication"
},
"sources": [
{
"fileName": "request/interfaces.d.ts",
"line": 67,
"character": 5
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"name": "RequestOptions.user"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [
1768,
1772,
1770,
1771,
1773,
1769,
1777,
1778,
1781,
1779,
1780
]
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 18,
"character": 34
}
],
"extendedTypes": [
{
"type": "reference",
"name": "RequestOptions"
}
]
},
{
"id": 1823,
"name": "dataMap",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 40,
"character": 13
}
],
"type": {
"type": "reference",
"name": "WeakMap",
"typeArguments": [
{
"type": "reference",
"name": "XhrResponse",
"id": 1790
},
{
"type": "reference",
"name": "RequestData",
"id": 1782
}
]
},
"defaultValue": " new WeakMap<XhrResponse, RequestData>()"
},
{
"id": 1824,
"name": "getDataTask",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1825,
"name": "getDataTask",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1826,
"name": "response",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "XhrResponse",
"id": 1790
}
}
],
"type": {
"type": "reference",
"name": "Task",
"id": 1430,
"typeArguments": [
{
"type": "reference",
"name": "XMLHttpRequest"
}
]
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 42,
"character": 20
}
]
},
{
"id": 1827,
"name": "noop",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1828,
"name": "noop",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 174,
"character": 13
}
]
},
{
"id": 1829,
"name": "setOnError",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1830,
"name": "setOnError",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1831,
"name": "request",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "XMLHttpRequest"
}
},
{
"id": 1832,
"name": "reject",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "Function"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 176,
"character": 19
}
]
},
{
"id": 1833,
"name": "xhr",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1834,
"name": "xhr",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1835,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1836,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "XhrRequestOptions",
"id": 1767
},
"defaultValue": " {}"
}
],
"type": {
"type": "reference",
"name": "UploadObservableTask",
"typeArguments": [
{
"type": "reference",
"name": "XhrResponse",
"id": 1790
}
]
}
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 182,
"character": 27
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1790
]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
1782,
1767
]
},
{
"title": "Variables",
"kind": 32,
"children": [
1823
]
},
{
"title": "Functions",
"kind": 64,
"children": [
1824,
1827,
1829,
1833
]
}
],
"sources": [
{
"fileName": "request/providers/xhr.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1758,
"name": "\"request/util\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/request/util.ts",
"children": [
{
"id": 1759,
"name": "generateRequestUrl",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1760,
"name": "generateRequestUrl",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns a URL formatted with optional query string and cache-busting segments."
},
"parameters": [
{
"id": 1761,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The base URL."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 1762,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The RequestOptions used to generate the query string or cacheBust.\n"
},
"type": {
"type": "reference",
"name": "RequestOptions"
},
"defaultValue": " {}"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "request/util.ts",
"line": 10,
"character": 34
}
]
},
{
"id": 1763,
"name": "getStringFromFormData",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1764,
"name": "getStringFromFormData",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1765,
"name": "formData",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "request/util.ts",
"line": 20,
"character": 37
}
]
}
],
"groups": [
{
"title": "Functions",
"kind": 64,
"children": [
1759,
1763
]
}
],
"sources": [
{
"fileName": "request/util.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 2068,
"name": "\"stringExtras\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/stringExtras.ts",
"children": [
{
"id": 2069,
"name": "escapeRegExpPattern",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "stringExtras.ts",
"line": 3,
"character": 25
}
],
"type": {
"type": "reference",
"name": "RegExp"
},
"defaultValue": " /[[\\]{}()|\\/\\\\^$.*+?]/g"
},
{
"id": 2071,
"name": "escapeXmlForPattern",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "stringExtras.ts",
"line": 5,
"character": 25
}
],
"type": {
"type": "reference",
"name": "RegExp"
},
"defaultValue": " /[&<>'\"]/g"
},
{
"id": 2070,
"name": "escapeXmlPattern",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "stringExtras.ts",
"line": 4,
"character": 22
}
],
"type": {
"type": "reference",
"name": "RegExp"
},
"defaultValue": " /[&<]/g"
},
{
"id": 2078,
"name": "escapeRegExp",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2079,
"name": "escapeRegExp",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Escapes a string so that it can safely be passed to the RegExp constructor.",
"returns": "The escaped string\n"
},
"parameters": [
{
"id": 2080,
"name": "text",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The string to be escaped"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "stringExtras.ts",
"line": 19,
"character": 28
}
]
},
{
"id": 2081,
"name": "escapeXml",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2082,
"name": "escapeXml",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Sanitizes a string to protect against tag injection.",
"returns": "The escaped string\n"
},
"parameters": [
{
"id": 2083,
"name": "xml",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "The string to be escaped"
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2084,
"name": "forAttribute",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Whether to also escape ', \", and > in addition to < and &"
},
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "true"
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "stringExtras.ts",
"line": 29,
"character": 25
}
]
},
{
"id": 2072,
"name": "escapeXmlMap",
"kind": 2097152,
"kindString": "Object literal",
"flags": {
"isConst": true,
"__visited__": true
},
"children": [
{
"id": 2076,
"name": "\"",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "stringExtras.ts",
"line": 10,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"&quot;\""
},
{
"id": 2073,
"name": "&",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "stringExtras.ts",
"line": 7,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"&amp;\""
},
{
"id": 2077,
"name": "'",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "stringExtras.ts",
"line": 11,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"&#39;\""
},
{
"id": 2074,
"name": "<",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "stringExtras.ts",
"line": 8,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"&lt;\""
},
{
"id": 2075,
"name": ">",
"kind": 32,
"kindString": "Variable",
"flags": {
"__visited__": true
},
"sources": [
{
"fileName": "stringExtras.ts",
"line": 9,
"character": 4
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"&gt;\""
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
2076,
2073,
2077,
2074,
2075
]
}
],
"sources": [
{
"fileName": "stringExtras.ts",
"line": 6,
"character": 18
}
],
"type": {
"type": "intrinsic",
"name": "object"
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
2069,
2071,
2070
]
},
{
"title": "Functions",
"kind": 64,
"children": [
2078,
2081
]
},
{
"title": "Object literals",
"kind": 2097152,
"children": [
2072
]
}
],
"sources": [
{
"fileName": "stringExtras.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 2085,
"name": "\"text\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/text.ts",
"children": [
{
"id": 2090,
"name": "getText",
"kind": 32,
"kindString": "Variable",
"flags": {
"isLet": true,
"__visited__": true
},
"sources": [
{
"fileName": "text.ts",
"line": 29,
"character": 11
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 2091,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2092,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2093,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2094,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 2095,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2096,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2097,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "text.ts",
"line": 29,
"character": 36
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "text.ts",
"line": 29,
"character": 12
}
]
}
}
},
{
"id": 2102,
"name": "pending",
"kind": 32,
"kindString": "Variable",
"flags": {
"isLet": true,
"__visited__": true
},
"sources": [
{
"fileName": "text.ts",
"line": 64,
"character": 11
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 2103,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 2104,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2105,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "text.ts",
"line": 64,
"character": 12
}
]
}
}
},
{
"id": 2086,
"name": "require",
"kind": 32,
"kindString": "Variable",
"flags": {
"isConst": true,
"__visited__": true
},
"sources": [
{
"fileName": "text.ts",
"line": 7,
"character": 21
}
],
"type": {
"type": "reference",
"name": "Require",
"id": 1208
}
},
{
"id": 2098,
"name": "textCache",
"kind": 32,
"kindString": "Variable",
"flags": {
"isLet": true,
"__visited__": true
},
"sources": [
{
"fileName": "text.ts",
"line": 59,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 2099,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"indexSignature": [
{
"id": 2100,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2101,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"sources": [
{
"fileName": "text.ts",
"line": 59,
"character": 14
}
]
}
}
},
{
"id": 2106,
"name": "get",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2107,
"name": "get",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2108,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"name": "Promise",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
]
}
}
],
"sources": [
{
"fileName": "text.ts",
"line": 66,
"character": 19
}
]
},
{
"id": 2116,
"name": "load",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2117,
"name": "load",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2118,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2119,
"name": "require",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reference",
"name": "AmdRequire",
"id": 99
}
},
{
"id": 2120,
"name": "load",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 2121,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2122,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2123,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "text.ts",
"line": 83,
"character": 59
}
]
}
}
},
{
"id": 2124,
"name": "config",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "reference",
"name": "AmdConfig",
"id": 26
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "text.ts",
"line": 83,
"character": 20
}
]
},
{
"id": 2109,
"name": "normalize",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2110,
"name": "normalize",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2111,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 2112,
"name": "toAbsMid",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 2113,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2114,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2115,
"name": "moduleId",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "text.ts",
"line": 76,
"character": 47
}
]
}
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "text.ts",
"line": 76,
"character": 25
}
]
},
{
"id": 2087,
"name": "strip",
"kind": 64,
"kindString": "Function",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 2088,
"name": "strip",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 2089,
"name": "text",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "text.ts",
"line": 14,
"character": 14
}
]
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [
2090,
2102,
2086,
2098
]
},
{
"title": "Functions",
"kind": 64,
"children": [
2106,
2116,
2109,
2087
]
}
],
"sources": [
{
"fileName": "text.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1616,
"name": "\"util\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/util.ts",
"children": [
{
"id": 1617,
"name": "createTimer",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1618,
"name": "createTimer",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Wraps a setTimeout call in a handle, allowing the timeout to be cleared by calling destroy.",
"returns": "Handle which can be destroyed to clear the timeout\n"
},
"parameters": [
{
"id": 1619,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Callback to be called when the timeout elapses"
},
"type": {
"type": "reflection",
"declaration": {
"id": 1620,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1621,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1622,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 11,
"character": 37
}
]
}
}
},
{
"id": 1623,
"name": "delay",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"comment": {
"text": "Number of milliseconds to wait before calling the callback"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 11,
"character": 27
}
]
},
{
"id": 1624,
"name": "debounce",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1625,
"name": "debounce",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Wraps a callback, returning a function which fires after no further calls are received over a set interval.",
"returns": "Debounced function\n"
},
"typeParameter": [
{
"id": 1630,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1626,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1627,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1628,
"name": "this",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1629,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 29,
"character": 34
}
]
}
}
}
],
"parameters": [
{
"id": 1631,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Callback to wrap"
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reflection",
"declaration": {
"id": 1626,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1627,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1628,
"name": "this",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1629,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 29,
"character": 34
}
]
}
}
}
},
{
"id": 1632,
"name": "delay",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Number of milliseconds to wait after any invocations before calling the original callback"
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reflection",
"declaration": {
"id": 1626,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1627,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1628,
"name": "this",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1629,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 29,
"character": 34
}
]
}
}
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 29,
"character": 24
}
]
},
{
"id": 1651,
"name": "guaranteeMinimumTimeout",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1652,
"name": "guaranteeMinimumTimeout",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1653,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1654,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1655,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1656,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 99,
"character": 49
}
]
}
}
},
{
"id": 1657,
"name": "delay",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true,
"__visited__": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "number"
}
]
}
}
],
"type": {
"type": "reference",
"name": "Handle",
"id": 16
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 99,
"character": 39
}
]
},
{
"id": 1633,
"name": "throttle",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1634,
"name": "throttle",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Wraps a callback, returning a function which fires at most once per set interval.",
"returns": "Throttled function\n"
},
"typeParameter": [
{
"id": 1639,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1635,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1636,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1637,
"name": "this",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1638,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 54,
"character": 34
}
]
}
}
}
],
"parameters": [
{
"id": 1640,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Callback to wrap"
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reflection",
"declaration": {
"id": 1635,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1636,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1637,
"name": "this",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1638,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 54,
"character": 34
}
]
}
}
}
},
{
"id": 1641,
"name": "delay",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Number of milliseconds to wait before allowing the original callback to be called again"
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reflection",
"declaration": {
"id": 1635,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1636,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1637,
"name": "this",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1638,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 54,
"character": 34
}
]
}
}
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 54,
"character": 24
}
]
},
{
"id": 1642,
"name": "throttleAfter",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 1643,
"name": "throttleAfter",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Like throttle, but calls the callback at the end of each interval rather than the beginning.\nUseful for e.g. resize or scroll events, when debounce would appear unresponsive.",
"returns": "Throttled function\n"
},
"typeParameter": [
{
"id": 1648,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "reflection",
"declaration": {
"id": 1644,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1645,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1646,
"name": "this",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1647,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 79,
"character": 39
}
]
}
}
}
],
"parameters": [
{
"id": 1649,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Callback to wrap"
},
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reflection",
"declaration": {
"id": 1644,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1645,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1646,
"name": "this",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1647,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 79,
"character": 39
}
]
}
}
}
},
{
"id": 1650,
"name": "delay",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"comment": {
"text": "Number of milliseconds to wait before calling the original callback and allowing it to be called again"
},
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"type": {
"type": "typeParameter",
"name": "T",
"constraint": {
"type": "reflection",
"declaration": {
"id": 1644,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"__visited__": true
},
"signatures": [
{
"id": 1645,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"parameters": [
{
"id": 1646,
"name": "this",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"__visited__": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
},
{
"id": 1647,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isRest": true,
"__visited__": true
},
"type": {
"type": "array",
"elementType": {
"type": "intrinsic",
"name": "any"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 79,
"character": 39
}
]
}
}
}
}
],
"sources": [
{
"fileName": "util.ts",
"line": 79,
"character": 29
}
]
}
],
"groups": [
{
"title": "Functions",
"kind": 64,
"children": [
1617,
1624,
1651,
1633,
1642
]
}
],
"sources": [
{
"fileName": "util.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 2393,
"name": "\"uuid\"",
"kind": 1,
"kindString": "External module",
"flags": {
"isExported": true,
"__visited__": true
},
"originalName": "src/uuid.ts",
"children": [
{
"id": 2394,
"name": "uuid",
"kind": 64,
"kindString": "Function",
"flags": {
"isExported": true,
"__visited__": true
},
"signatures": [
{
"id": 2395,
"name": "uuid",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"__visited__": true
},
"comment": {
"shortText": "Returns a v4 compliant UUID.",
"returns": "\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "uuid.ts",
"line": 6,
"character": 28
}
]
}
],
"groups": [
{
"title": "Functions",
"kind": 64,
"children": [
2394
]
}
],
"sources": [
{
"fileName": "uuid.ts",
"line": 1,
"character": 0
}
]
}
],
"groups": [
{
"title": "External modules",
"kind": 1,
"children": [
842,
964,
977,
1130,
1067,
1218,
2323,
1540,
2364,
2019,
1506,
455,
1356,
1424,
2125,
2243,
626,
635,
1066,
1023,
1024,
1,
150,
1201,
1178,
2396,
2318,
1240,
1355,
1985,
1658,
1599,
1698,
1736,
1750,
1837,
1766,
1758,
2068,
2085,
1616,
2393
]
}
]
}