@hel-demo/mono-libs
Version:
hel-mono demo libs
23 lines (19 loc) • 547 B
TypeScript
/**
* 延迟多少米后执行剩余的逻辑
*/
declare function delay(ms?: number): Promise<unknown>;
/**
* 异步地对 hel 说你好
*/
declare function helloAsync(): Promise<string>;
/**
* 对 hel 说你好
*/
declare function hello(): string;
declare const lib_delay: typeof delay;
declare const lib_hello: typeof hello;
declare const lib_helloAsync: typeof helloAsync;
declare namespace lib {
export { lib_delay as delay, lib_hello as hello, lib_helloAsync as helloAsync };
}
export { lib as default, delay, hello, helloAsync };