瀏覽代碼

Add const qualifier

Popov72 5 年之前
父節點
當前提交
667e1a1ebb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dist/preview release/glTF2Interface/babylon.glTF2Interface.d.ts

+ 1 - 1
dist/preview release/glTF2Interface/babylon.glTF2Interface.d.ts

@@ -955,7 +955,7 @@ declare module BABYLON.GLTF2 {
      */
 
     /** @hidden */
-    enum IKHRLightsPunctual_LightType {
+    const enum IKHRLightsPunctual_LightType {
         DIRECTIONAL = "directional",
         POINT = "point",
         SPOT = "spot"