Skip to content

Commit 80b48f1

Browse files
authored
Add spread bool to Parameter (#83)
1 parent a07ec8f commit 80b48f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

schema.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,11 @@ export interface Parameter extends PropertyLike {
592592
* Whether the parameter is optional. Undefined implies non-optional.
593593
*/
594594
optional?: boolean;
595+
/**
596+
* Whether the parameter is a rest parameter. Only the last parameter may be a rest parameter.
597+
* Undefined implies single parameter.
598+
*/
599+
rest?: boolean;
595600
}
596601

597602
export interface FunctionLike {

0 commit comments

Comments
 (0)