Skip to content

Commit

Permalink
Fix "Initializers are not allowed in ambient contexts" in TS 2.9
Browse files Browse the repository at this point in the history
Note that current TS versions would allow the initiaizers in declarations.
  • Loading branch information
ulrichb committed Dec 18, 2019
1 parent 0cfac7d commit c1c2e6d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ export class InMemoryWebStorage {
}

export class Log {
static readonly NONE = 0;
static readonly ERROR = 1;
static readonly WARN = 2;
static readonly INFO = 3;
static readonly DEBUG = 4;
static readonly NONE: 0;
static readonly ERROR: 1;
static readonly WARN: 2;
static readonly INFO: 3;
static readonly DEBUG: 4;

static reset(): void;

Expand Down

0 comments on commit c1c2e6d

Please sign in to comment.