We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f582a09 commit eb045bfCopy full SHA for eb045bf
source/core/options.ts
@@ -1349,13 +1349,11 @@ export default class Options {
1349
1350
__Note #2__: This option is not enumerable and will not be merged with the instance defaults.
1351
*/
1352
- get json(): Record<string, any> | undefined {
+ get json(): any {
1353
return this._internals.json;
1354
}
1355
1356
- set json(value: Record<string, any> | undefined) {
1357
- assert.any([is.object, is.undefined], value);
1358
-
+ set json(value: any) {
1359
if (value !== undefined) {
1360
assert.undefined(this._internals.body);
1361
assert.undefined(this._internals.form);
0 commit comments