Kaynağa Gözat

Fix correct return value

Johannes Deml 7 yıl önce
ebeveyn
işleme
3c2c015545
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/materials/Material.d.ts

+ 1 - 1
src/materials/Material.d.ts

@@ -272,7 +272,7 @@ export class Material extends EventDispatcher {
    * @param shader Source code of the shader
    * @param shader Source code of the shader
    * @param renderer WebGLRenderer Context that is initializing the material
    * @param renderer WebGLRenderer Context that is initializing the material
    */
    */
-  onBeforeCompile ( shader : Object, renderer : WebGLRenderer ) : null
+  onBeforeCompile ( shader : Object, renderer : WebGLRenderer ) : void;
 
 
   /**
   /**
    * Sets the properties based on the values.
    * Sets the properties based on the values.

粤ICP备19079148号