Yuki Takei 3 سال پیش
والد
کامیت
94264936a8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/presentation/src/components/Presentation.tsx

+ 1 - 1
packages/presentation/src/components/Presentation.tsx

@@ -40,7 +40,7 @@ export const Presentation = (props: PresentationProps): JSX.Element => {
   const { revealOptions } = options;
 
   useEffect(() => {
-    let deck;
+    let deck: Reveal.Api;
     if (children != null) {
       deck = new Reveal({ ...baseRevealOptions, ...revealOptions });
       deck.initialize()