소스 검색

make requestID optional

Trevor Baron 6 년 전
부모
커밋
fb95d131cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
     }
 
     /**