TS/JS: Use minvalue from enum if not found (#7888)

Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
Björn Harrtell
2023-04-06 03:26:05 +02:00
committed by GitHub
parent 876a64aae1
commit 0888e7cb4d
7 changed files with 11 additions and 44 deletions

View File

@@ -118,7 +118,7 @@ constructor(
public y: number = 0.0,
public z: number = 0.0,
public test1: number = 0.0,
public test2: Color = 0,
public test2: Color = Color.Red,
public test3: TestT|null = null
){}