Skip to content

Commit

Permalink
update types
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Mar 28, 2024
1 parent 121186f commit f24d23f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ interface ESMSInitOptions {

/**
* Enable polyfill features.
* Currently supports ['css-modules', 'json-modules']
* Currently supports ['css-modules', 'json-modules', 'wasm-modules', 'source-phase']
*/
polyfillEnable?: Array<'css-modules' | 'json-modules'>
polyfillEnable?: Array<'css-modules' | 'json-modules' | 'wasm-modules' | 'source-phase'>

/**
* #### Enforce Integrity
Expand All @@ -24,9 +24,14 @@ interface ESMSInitOptions {
nonce?: boolean;

/**
* Disable retriggering of document readystate
* Disable retriggering of document readystate and DOMContentLoaded
*/
noLoadEventRetriggers?: true;
noLoadEventRetriggers?: boolean;

/**
* Enable retriggering of the Window / global 'load' event
*/
globalLoadEventRetrigger?: boolean;

/**
* #### Skip Processing Stability
Expand Down

0 comments on commit f24d23f

Please sign in to comment.