Skip to content

Commit

Permalink
Minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Mar 26, 2022
1 parent eb045bf commit 7ed8798
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/core/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1349,11 +1349,11 @@ export default class Options {
__Note #2__: This option is not enumerable and will not be merged with the instance defaults.
*/
get json(): any {
get json(): unknown {
return this._internals.json;
}

set json(value: any) {
set json(value: unknown) {
if (value !== undefined) {
assert.undefined(this._internals.body);
assert.undefined(this._internals.form);
Expand Down

0 comments on commit 7ed8798

Please sign in to comment.