From 3d8a35f5406e5d1acab0ac3f2eec16a17b901a47 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 23 Oct 2024 14:18:41 +0200 Subject: [PATCH] chore: wip --- fixtures/output/example-0001.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fixtures/output/example-0001.d.ts b/fixtures/output/example-0001.d.ts index 1d94198..f1253c8 100644 --- a/fixtures/output/example-0001.d.ts +++ b/fixtures/output/example-0001.d.ts @@ -57,7 +57,7 @@ export declare interface ResponseData { * * with multiple empty lines, including an empty lines */ -export declare function fetchUsers(): Promise; +export declare function fetchUsers(): Promise; export declare interface ApiResponse { status: number; message: string; @@ -77,23 +77,23 @@ export declare interface Product { /** * Example of function declaration */ -export declare function getProduct(id: number): Promise>; +export declare function getProduct(id: number): Promise>; export declare interface AuthResponse { token: string; expiresIn: number; } export declare type AuthStatus = 'authenticated' | 'unauthenticated'; -export declare function authenticate(user: string, password: string): Promise; +export declare function authenticate(user: string, password: string): Promise; export declare const defaultHeaders: { 'Content-Type': 'application/json'; }; -export declare function dts(options?: DtsGenerationOption): BunPlugin; +export declare async function dts(options?: DtsGenerationOption): BunPlugin; declare interface Options { name: string; cwd?: string; defaultConfig: T; } -export declare async function loadConfig(options: Options): Promise; +export declare async function loadConfig>(options: Options): Promise; declare const dtsConfig: DtsGenerationConfig; export { generate, dtsConfig } export declare type { DtsGenerationOption }