Skip to content
This repository was archived by the owner on Mar 3, 2022. It is now read-only.

Commit ccb31b0

Browse files
authored
Merge pull request #1019 from ulrichb/FixTS29Error
Fix "Initializers are not allowed in ambient contexts" in TS 2.9
2 parents bc76616 + c1c2e6d commit ccb31b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ export class InMemoryWebStorage {
3838
}
3939

4040
export class Log {
41-
static readonly NONE = 0;
42-
static readonly ERROR = 1;
43-
static readonly WARN = 2;
44-
static readonly INFO = 3;
45-
static readonly DEBUG = 4;
41+
static readonly NONE: 0;
42+
static readonly ERROR: 1;
43+
static readonly WARN: 2;
44+
static readonly INFO: 3;
45+
static readonly DEBUG: 4;
4646

4747
static reset(): void;
4848

0 commit comments

Comments
 (0)