diff options
Diffstat (limited to 'src/render/SubmissionNotice.tsx')
-rw-r--r-- | src/render/SubmissionNotice.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/SubmissionNotice.tsx b/src/render/SubmissionNotice.tsx index 5e9fbfbd..c0159cc0 100644 --- a/src/render/SubmissionNotice.tsx +++ b/src/render/SubmissionNotice.tsx @@ -11,7 +11,7 @@ class SubmissionNotice { // Contains functions and variables from the content script needed by the skip notice contentContainer: () => unknown; - callback: () => unknown; + callback: () => Promise<boolean>; noticeRef: React.MutableRefObject<SubmissionNoticeComponent>; @@ -19,7 +19,7 @@ class SubmissionNotice { root: Root; - constructor(contentContainer: ContentContainer, callback: () => unknown) { + constructor(contentContainer: ContentContainer, callback: () => Promise<boolean>) { this.noticeRef = React.createRef(); this.contentContainer = contentContainer; |