From da9361df1545a65df15977fbb737a7faf3247ffa Mon Sep 17 00:00:00 2001 From: Szymon Nowakowski Date: Mon, 11 Sep 2023 23:03:47 +0200 Subject: [PATCH] Fix compilation error in light code --- src/data/Light.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/Light.ts b/src/data/Light.ts index 3c63495..62bb770 100644 --- a/src/data/Light.ts +++ b/src/data/Light.ts @@ -22,7 +22,7 @@ export interface PointLightProps { export class DirectionalLight { - get type(): "DirectionalLight" {}; + declare readonly type: "DirectionalLight"; _name: string;