Skip to content

Commit

Permalink
swingset: fix Bundle defintions
Browse files Browse the repository at this point in the history
We had the wrong typescript syntax for the optional sourceMap
property.
  • Loading branch information
warner authored and FUDCo committed Mar 25, 2023
1 parent 0f30dc0 commit 6bf4ef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/SwingSet/src/types-external.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export {};
*/

/**
* @typedef { { moduleFormat: 'getExport', source: string, sourceMap: string? } } GetExportBundle
* @typedef { { moduleFormat: 'nestedEvaluate', source: string, sourceMap: string? } } NestedEvaluateBundle
* @typedef { { moduleFormat: 'getExport', source: string, sourceMap?: string } } GetExportBundle
* @typedef { { moduleFormat: 'nestedEvaluate', source: string, sourceMap?: string } } NestedEvaluateBundle
* @typedef { EndoZipBase64Bundle | GetExportBundle | NestedEvaluateBundle } Bundle
*
* @typedef {{
Expand Down

0 comments on commit 6bf4ef2

Please sign in to comment.