Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
chore: wip

chore: wip

chore: wip

chore: wip

chore: wip

chore: wip
  • Loading branch information
chrisbbreuer committed Nov 3, 2024
1 parent cae2210 commit b7db6c1
Show file tree
Hide file tree
Showing 4 changed files with 319 additions and 289 deletions.
26 changes: 10 additions & 16 deletions fixtures/output/function.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,20 @@ export declare function fetchUsers(): Promise<ResponseData>;
export declare function getProduct(id: number): Promise<ApiResponse<Product>>;
export declare function authenticate(user: string, password: string): Promise<AuthResponse>;
export declare function dts(options?: DtsGenerationOption): BunPlugin;
declare const cwd: unknown;
export declare function loadConfig<T extends Record<string, unknown>>({ name, cwd, defaultConfig }: Options<T>): Promise<T>;
declare const c: unknown;
declare const configPath: unknown;
declare const importedConfig: unknown;
declare const loadedConfig: unknown;
export declare function export();
export declare function loadConfig <T extends Record<string, unknown>> ();
export declare function processData(data: string): string;
export declare function processData(data: number): number;
export declare function processData(data: boolean): boolean;
export declare function processData<T extends object>(data: T): T;
export declare function processData <T extends object> (data: T): T;
export declare function processData(data: unknown): unknown;
export declare function export();
export declare function complexAsyncGenerator(): any;
declare const results: unknown;
export declare function isUser(value: unknown): value is User;
export declare function extractFunctionSignature(declaration: string): FunctionSignature;
declare const cleanDeclaration: unknown;
declare const functionPattern: unknown;
declare const functionMatch: unknown;
declare const name: unknown;
declare const genericsResult: unknown;
declare const paramsResult: unknown;
declare const match: unknown;
export declare function createApi<T extends Record<string,(...args: any[]) => any>();
export declare function Pattern();
export declare function \s* (\*);
export declare function Match();
export declare function Pattern) ();
export declare function Match[4] ();
export declare function createApi <T extends Record<string, (...args: any[]) => any> ();
4 changes: 2 additions & 2 deletions fixtures/output/variable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ export declare const complexArrays: {
};
export declare const complexObject: {
handlers: {
onSuccess: async <T> (data: T) => T);
onError: (error: Error & { code?: number }) => Error &
onSuccess: <T> (data: T) => Promise<void>;
onError: (error: Error & { code?: number }) => void
};
utils: {
formatters: {
Expand Down
Loading

0 comments on commit b7db6c1

Please sign in to comment.