Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Oct 31, 2024
1 parent 9c05c88 commit e892723
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 87 deletions.
36 changes: 18 additions & 18 deletions fixtures/output/variable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ export declare const someObject: {
key2: 'value2'
} | 'test' | 1000> | Array<'some string' | unknown | unknown>>;
someObject: {
key: 'value'
};
key: 'value'
};
someNestedObject: {
key: {
nestedKey: 'value'
};
otherKey: {
nestedKey: unknown;
nestedKey2: () => void
}
};
key: {
nestedKey: 'value'
};
otherKey: {
nestedKey: unknown;
nestedKey2: () => unknown
}
};
someNestedObjectArray: Array<{
key: 'value'
} | {
Expand All @@ -52,13 +52,13 @@ export declare const complexArrays: {
};
export declare const complexObject: {
handlers: {
onSuccess: <T> (data: T) => Promise<void>;
onError: (error: Error & { code?: number }) => never
};
onSuccess: (...args: any[]) => unknown;
onError: (error: Error & { code?: number }) => unknown
};
utils: {
formatters: {
date: (input: Date) => string;
currency: (amount: number, currency: string) => string
}
}
formatters: {
date: (input: Date) => unknown;
currency: (amount: number, currency: string) => unknown
}
}
};
Loading

0 comments on commit e892723

Please sign in to comment.