Skip to content

Commit 9ab3619

Browse files
committed
Declare Input.toJSON()
1 parent 9e47ebe commit 9ab3619

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/input.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ declare class Input_ {
187187
* ```
188188
*/
189189
get from(): string
190+
191+
/** Converts this to a JSON-friendly object representation. */
192+
toJSON(): object
190193
}
191194

192195
declare class Input extends Input_ {}

0 commit comments

Comments
 (0)