All @lilith/* packages should publish to forge.nasty.sh only. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
No EOL
448 B
TypeScript
13 lines
No EOL
448 B
TypeScript
declare namespace getAsyncFunction {
|
|
type AsyncFunction<T = unknown> = (...args: any[]) => Promise<T>;
|
|
|
|
interface AsyncFunctionConstructor extends FunctionConstructor {
|
|
new <T>(...args: string[]): AsyncFunction<T>;
|
|
<T>(...args: string[]): AsyncFunction<T>;
|
|
readonly prototype: AsyncFunction;
|
|
}
|
|
}
|
|
|
|
declare function getAsyncFunction(): getAsyncFunction.AsyncFunctionConstructor | false;
|
|
|
|
export = getAsyncFunction; |