UNPKG
cli-legend
Version:
latest (1.0.0)
1.0.0
"A fun command-line rogurelike dungeon game"
github.com/SamparkBhol/roguemaze
SamparkBhol/roguemaze
cli-legend
/
RogueMaze
/
node_modules
/
@inquirer
/
core
/
dist
/
commonjs
/
lib
/
promise-polyfill.d.ts
8 lines
(7 loc)
•
217 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
declare
class
PromisePolyfill
<T>
extends
Promise
<T> {
static
withResolver<T>(): {
promise
:
Promise
<T>;
resolve
:
(
value
: T
) =>
void
;
reject
:
(
error
:
unknown
) =>
void
; }; }