Skip to content

Commit

Permalink
chore: formatting code
Browse files Browse the repository at this point in the history
  • Loading branch information
Conner McKenna committed Oct 26, 2023
1 parent 48803ab commit 158750b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/useModal.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ export interface UseModalContainerRef {
blockBodyScroll: boolean;
}

export type UseModalReturnType<ResultType = unknown, ModalProps = any> = (props?: ModalProps) => Promise<ResultType>;
export type UseModalReturnType<ResultType = unknown, ModalProps = any> = (

Check warning on line 40 in src/useModal.interface.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected any. Specify a different type
props?: ModalProps,
) => Promise<ResultType>;

0 comments on commit 158750b

Please sign in to comment.