You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is mixed function between bash’s `echo` and `console.log`.
174
169
By default, works more like `console.log` with partial supports
175
-
for styling mimic CSS and `console.log` in the web browser. See [css](interfaces/EchoFunction.md#css).
170
+
for styling mimic CSS and `console.log` in the web browser. See [`echo.css`](interfaces/EchoFunction.md#type-declaration) (internally uses [css-in-console - npm](https://www.npmjs.com/package/css-in-console)).
176
171
177
172
The [use](interfaces/EchoFunction.md#use) provides more `echo` way,
178
173
the first argument accepts options string starting with `-`:
Creates a new resolved promise for the provided value.
212
238
@@ -224,7 +250,7 @@ Creates a new resolved promise for the provided value.
224
250
225
251
#### Returns
226
252
227
-
`Promise`<`T`\>
253
+
`Promise`<`Awaited`<`T`\>\>
228
254
229
255
A promise whose internal state matches the provided promise.
230
256
@@ -459,7 +485,7 @@ Creates a new Promise.
459
485
460
486
| Name | Type | Description |
461
487
| :------ | :------ | :------ |
462
-
|`executor`| (`resolve`: (`value`: [`ProcessOutput`](s.ProcessOutput.md)\|`PromiseLike`<[`ProcessOutput`](s.ProcessOutput.md)\>) => `void`, `reject`: (`reason?`: `any`) => `void`) => `void`| A callback used to initialize the promise. This callback is passed two arguments: a resolve callback used to resolve the promise with a value or the result of another promise, and a reject callback used to reject the promise with a provided reason or error. |
488
+
|`executor`| (`resolve`: (`value`: [`ProcessOutput`](s.ProcessOutput.md)\|`PromiseLike`<[`ProcessOutput`](s.ProcessOutput.md)\>) => `void`, `reject`: (`reason?`: `any`) => `void`) => `void`| A callback used to initialize the promise. This callback is passed two arguments: a resolve callback used to resolve the promise with a value or the result of another promise, and a reject callback used to reject the promise with a provided reason or error. |
0 commit comments