From c4d15105f856f176f0225603fcb0caa84a9c2449 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 14 Nov 2024 12:44:35 +0100 Subject: [PATCH] chore: add failing test chore: wip chore: wip --- fixtures/input/variable.ts | 10 ++++++++++ fixtures/output/variable.d.ts | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/fixtures/input/variable.ts b/fixtures/input/variable.ts index 907377a..59748d8 100644 --- a/fixtures/input/variable.ts +++ b/fixtures/input/variable.ts @@ -199,3 +199,13 @@ export const CONFIG_MAP = { } } } as const + +export const command = { + run: async (command: string, options?: CliOptions): Promise, Error>> => { + return await runCommand(command, options) + }, + + runSync: async (command: string, options?: CliOptions): Promise, Error>> => { + return await runCommand(command, options) + }, +} diff --git a/fixtures/output/variable.d.ts b/fixtures/output/variable.d.ts index e906824..75b550c 100644 --- a/fixtures/output/variable.d.ts +++ b/fixtures/output/variable.d.ts @@ -119,4 +119,9 @@ export declare const CONFIG_MAP: { } } } +}; +export declare const command: { + run: unknown; + Readable, Readable>, Error>> => { + return await runCommand: () => unknown }; \ No newline at end of file