Skip to content

Commit

Permalink
Fix enums for consumers using isolated modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
marionebl authored and pkaminski committed Sep 18, 2021
1 parent 01a7d7a commit 5552329
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {ArrayEntityList, EntityList, PackedArrayEntityList} from './datatypes/en

type MaskKind = 'withMask' | 'withoutMask' | 'trackMask';

const enum QueryFlavor {
enum QueryFlavor {
current = 1, added = 2, removed = 4, changed = 8, addedOrChanged = 16, changedOrRemoved = 32,
addedChangedOrRemoved = 64
}
Expand Down
2 changes: 1 addition & 1 deletion src/refindexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface Selector {
sourceSeq?: number;
}

const enum Action {
enum Action {
REFERENCE = 0, UNREFERENCE = 2 ** 30, RELEASE = 2 ** 31
}

Expand Down
2 changes: 1 addition & 1 deletion src/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface SystemType<S extends System> {
}


export const enum RunState {
export enum RunState {
RUNNING, STOPPED
}

Expand Down

0 comments on commit 5552329

Please sign in to comment.