Skip to content

Commit 98a1664

Browse files
committed
fix: correct signature for set function
1 parent f214383 commit 98a1664

1 file changed

Lines changed: 87 additions & 86 deletions

File tree

Lines changed: 87 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,89 @@
11
{
2-
"runtimeName": "std::object::set",
3-
"runtimeParameterDefinitions": [
4-
{
5-
"runtimeName": "object",
6-
"defaultValue": null,
7-
"name": [
8-
{
9-
"code": "en-US",
10-
"content": "Object"
11-
}
12-
],
13-
"description": [
14-
{
15-
"code": "en-US",
16-
"content": "The original object that will be modified with the specified key-value pair."
17-
}
18-
],
19-
"documentation": []
20-
},
21-
{
22-
"runtimeName": "key",
23-
"defaultValue": null,
24-
"name": [
25-
{
26-
"code": "en-US",
27-
"content": "Key"
28-
}
29-
],
30-
"description": [
31-
{
32-
"code": "en-US",
33-
"content": "The property name under which the value will be stored in the object."
34-
}
35-
],
36-
"documentation": []
37-
},
38-
{
39-
"runtimeName": "value",
40-
"defaultValue": null,
41-
"name": [
42-
{
43-
"code": "en-US",
44-
"content": "Value"
45-
}
46-
],
47-
"description": [
48-
{
49-
"code": "en-US",
50-
"content": "The value to assign to the object property identified by the key."
51-
}
52-
],
53-
"documentation": []
54-
}
55-
],
56-
"throwsError": false,
57-
"name": [
58-
{
59-
"code": "en-US",
60-
"content": "Set Object Key"
61-
}
62-
],
63-
"description": [
64-
{
65-
"code": "en-US",
66-
"content": "Returns a new object with the specified key set to the given value."
67-
}
68-
],
69-
"documentation": [],
70-
"alias": [
71-
{
72-
"code": "en-US",
73-
"content": "set;object;std"
74-
}
75-
],
76-
"displayMessage": [
77-
{
78-
"code": "en-US",
79-
"content": "Set ${key} to ${value} of ${object}"
80-
}
81-
],
82-
"deprecationMessage": [],
83-
"displayIcon": "tabler:cube",
84-
"signature": "<T, K extends keyof OBJECT<T>>(object: OBJECT<T>, key: keyof OBJECT<T>, value: T[K]) => OBJECT<T>",
85-
"linkedDataTypeIdentifiers": [
86-
"OBJECT"
87-
]
2+
"runtimeName": "std::object::set",
3+
"runtimeParameterDefinitions": [
4+
{
5+
"runtimeName": "object",
6+
"defaultValue": null,
7+
"name": [
8+
{
9+
"code": "en-US",
10+
"content": "Object"
11+
}
12+
],
13+
"description": [
14+
{
15+
"code": "en-US",
16+
"content": "The original object that will be modified with the specified key-value pair."
17+
}
18+
],
19+
"documentation": []
20+
},
21+
{
22+
"runtimeName": "key",
23+
"defaultValue": null,
24+
"name": [
25+
{
26+
"code": "en-US",
27+
"content": "Key"
28+
}
29+
],
30+
"description": [
31+
{
32+
"code": "en-US",
33+
"content": "The property name under which the value will be stored in the object."
34+
}
35+
],
36+
"documentation": []
37+
},
38+
{
39+
"runtimeName": "value",
40+
"defaultValue": null,
41+
"name": [
42+
{
43+
"code": "en-US",
44+
"content": "Value"
45+
}
46+
],
47+
"description": [
48+
{
49+
"code": "en-US",
50+
"content": "The value to assign to the object property identified by the key."
51+
}
52+
],
53+
"documentation": []
54+
}
55+
],
56+
"throwsError": false,
57+
"name": [
58+
{
59+
"code": "en-US",
60+
"content": "Set Object Key"
61+
}
62+
],
63+
"description": [
64+
{
65+
"code": "en-US",
66+
"content": "Returns a new object with the specified key set to the given value."
67+
}
68+
],
69+
"documentation": [],
70+
"alias": [
71+
{
72+
"code": "en-US",
73+
"content": "set;object;std"
74+
}
75+
],
76+
"displayMessage": [
77+
{
78+
"code": "en-US",
79+
"content": "Set ${key} to ${value} of ${object}"
80+
}
81+
],
82+
"deprecationMessage": [],
83+
"displayIcon": "tabler:cube",
84+
"signature": "<T, K extends keyof OBJECT<T>, V>(object: OBJECT<T>, key: TEXT, value: V) => OBJECT<T>",
85+
"linkedDataTypeIdentifiers": [
86+
"OBJECT",
87+
"TEXT"
88+
]
8889
}

0 commit comments

Comments
 (0)