Pārlūkot izejas kodu

make requestID optional

Trevor Baron 6 gadi atpakaļ
vecāks
revīzija
fb95d131cf
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/Tools/babylon.tools.ts

+ 1 - 1
src/Tools/babylon.tools.ts

@@ -16,7 +16,7 @@ module BABYLON {
          * You can pass this value to cancelAnimationFrame() to cancel the refresh callback request
          * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame#Return_value
          */
-        requestID: Nullable<number>;
+        requestID?: number;
     }
 
     /**