Skip to content

Commit 9af4e67

Browse files
author
Guy Bedford
committed
update types
1 parent 9b14c46 commit 9af4e67

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

types.d.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,15 @@ interface ComponentizeOptions {
2626
* - stdio: console.log(), console.error and errors are provided to stderr
2727
* - random: Math.random() and crypto.randomBytes()
2828
* - clocks: Date.now()
29+
* - http: fetch() support
2930
*
3031
*/
31-
disableFeatures?: ('stdio' | 'random' | 'clocks')[],
32+
disableFeatures?: ('stdio' | 'random' | 'clocks' | 'http')[],
3233
/**
3334
* Enable WASI features in the base engine
34-
*
35-
* - http: fetch() API
36-
*
35+
* (no experimental subsystems currently supported)
3736
*/
38-
enableFeatures?: ('http')[],
37+
enableFeatures?: [],
3938
}
4039

4140
/**

0 commit comments

Comments
 (0)