Skip to content

Commit

Permalink
fix(experimental-utils): make keys for ReferenceTracker options opt…
Browse files Browse the repository at this point in the history
…ional (#3531)
  • Loading branch information
MageJohn committed Jun 17, 2021
1 parent 8ecb4f6 commit a7fd7bb
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -48,11 +48,11 @@ interface ReferenceTrackerStatic {
* If this is `"strict"`, the method binds CommonJS modules to the default export. Otherwise, the method binds
* CommonJS modules to both the default export and named exports. Optional. Default is `"strict"`.
*/
mode: 'strict' | 'legacy';
mode?: 'strict' | 'legacy';
/**
* The name list of Global Object. Optional. Default is `["global", "globalThis", "self", "window"]`.
*/
globalObjectNames: readonly string[];
globalObjectNames?: readonly string[];
},
): ReferenceTracker;

Expand Down

0 comments on commit a7fd7bb

Please sign in to comment.