Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
toasted-nutbread committed Dec 22, 2023
1 parent cc2e09e commit e43fd8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/ext/api-map.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ type ApiMapInitItem<TSurface extends ApiSurface, TExtraParams extends ApiTExtraP
*/
type ApiMapInitItemAny<TSurface extends ApiSurface, TExtraParams extends ApiTExtraParams> = {[key in ApiNames<TSurface>]: ApiMapInitItem<TSurface, TExtraParams, key>}[ApiNames<TSurface>];

/** Base type for extra params, which is just a generic array. */
type ApiTExtraParams = unknown[];

/** Default type for extra params, which is an empty array. */
type ApiExtraParamsDefault = [];

/** Type alias for the params member of an descriptor. */
Expand Down

0 comments on commit e43fd8d

Please sign in to comment.