Skip to content

Commit 6bc9d2e

Browse files
authored
Options are optional
Upon updating to the latest I was pleasantly surprised to find types included, but couldn't use them because they incorrectly claim the options are all mandatory.
1 parent b4943a7 commit 6bc9d2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
export default function setupDeprecationWorkflow(config: {
2-
throwOnUnhandled: boolean;
3-
workflow: {
1+
export default function setupDeprecationWorkflow(config?: {
2+
throwOnUnhandled?: boolean;
3+
workflow?: {
44
handler: 'log' | 'silence' | 'throw';
55
matchId: string;
66
matchMessage: string;

0 commit comments

Comments
 (0)