mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
145 lines
4.8 KiB
Plaintext
145 lines
4.8 KiB
Plaintext
// === SignatureHelp ===
|
|
=== /signatureHelpRestArgs3.ts ===
|
|
// const layers = Object.assign({}, ...[]);
|
|
// ^
|
|
// | ----------------------------------------------------------------------
|
|
// | assign(target: object, **...sources: any[]**): any
|
|
// | - `...sources: any[]`: One or more source objects from which to copy properties
|
|
// | Copy the values of all of the enumerable own properties from one or more source objects to a
|
|
// | target object. Returns the target object.
|
|
// | ----------------------------------------------------------------------
|
|
[
|
|
{
|
|
"marker": {
|
|
"Position": 33,
|
|
"LSPosition": {
|
|
"line": 0,
|
|
"character": 33
|
|
},
|
|
"Name": "1",
|
|
"Data": {}
|
|
},
|
|
"item": {
|
|
"signatures": [
|
|
{
|
|
"label": "assign<T extends {}, U>(target: T, source: U): T & U",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "Copy the values of all of the enumerable own properties from one or more source objects to a\ntarget object. Returns the target object."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"label": "target: T",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "The target object to copy to."
|
|
}
|
|
},
|
|
{
|
|
"label": "source: U",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "The source object from which to copy properties."
|
|
}
|
|
}
|
|
],
|
|
"activeParameter": 1
|
|
},
|
|
{
|
|
"label": "assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "Copy the values of all of the enumerable own properties from one or more source objects to a\ntarget object. Returns the target object."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"label": "target: T",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "The target object to copy to."
|
|
}
|
|
},
|
|
{
|
|
"label": "source1: U",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "The first source object from which to copy properties."
|
|
}
|
|
},
|
|
{
|
|
"label": "source2: V",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "The second source object from which to copy properties."
|
|
}
|
|
}
|
|
],
|
|
"activeParameter": 1
|
|
},
|
|
{
|
|
"label": "assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "Copy the values of all of the enumerable own properties from one or more source objects to a\ntarget object. Returns the target object."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"label": "target: T",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "The target object to copy to."
|
|
}
|
|
},
|
|
{
|
|
"label": "source1: U",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "The first source object from which to copy properties."
|
|
}
|
|
},
|
|
{
|
|
"label": "source2: V",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "The second source object from which to copy properties."
|
|
}
|
|
},
|
|
{
|
|
"label": "source3: W",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "The third source object from which to copy properties."
|
|
}
|
|
}
|
|
],
|
|
"activeParameter": 1
|
|
},
|
|
{
|
|
"label": "assign(target: object, ...sources: any[]): any",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "Copy the values of all of the enumerable own properties from one or more source objects to a\ntarget object. Returns the target object."
|
|
},
|
|
"parameters": [
|
|
{
|
|
"label": "target: object",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "The target object to copy to."
|
|
}
|
|
},
|
|
{
|
|
"label": "...sources: any[]",
|
|
"documentation": {
|
|
"kind": "markdown",
|
|
"value": "One or more source objects from which to copy properties"
|
|
}
|
|
}
|
|
],
|
|
"activeParameter": 1
|
|
}
|
|
],
|
|
"activeSignature": 3
|
|
}
|
|
}
|
|
] |