diff --git a/fixtures/input/variable.ts b/fixtures/input/variable.ts index b38bfa9..b21042f 100644 --- a/fixtures/input/variable.ts +++ b/fixtures/input/variable.ts @@ -126,12 +126,12 @@ export const complexArrays = { ['literal', 42, false] as const, ], // TODO: get this part to generate correctly - // mixedArrays: [ - // new Date(), - // Promise.resolve('async'), - // async () => 'result', - // function* generator() { yield 42 }, - // ] + mixedArrays: [ + new Date(), + Promise.resolve('async'), + async () => 'result', + function* generator() { yield 42 }, + ] } // TODO: Nested Object Types with Methods diff --git a/fixtures/output/variable.d.ts b/fixtures/output/variable.d.ts index 0d907d2..ad8240c 100644 --- a/fixtures/output/variable.d.ts +++ b/fixtures/output/variable.d.ts @@ -47,5 +47,6 @@ export declare const defaultHeaders: { declare const dtsConfig: DtsGenerationConfig; export declare const complexArrays: { matrix: Array>> | Array<'a' | 'b' | Array<'c' | 'd'>> | Array>>>; - tuples: Array + tuples: Array; + mixedArrays: Array unknown> };