diff --git a/src/types/index.ts b/src/types/index.ts index b1cdfb7e..8ed072d3 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -60,7 +60,7 @@ export type PlaidLinkOnSuccess = ( ) => void; export type PlaidLinkOnExit = ( - error: null | PlaidLinkError, + error: undefined | null | PlaidLinkError, metadata: PlaidLinkOnExitMetadata ) => void;