Skip to content

Commit

Permalink
Change IndicatorStatus enum to a string enum
Browse files Browse the repository at this point in the history
  • Loading branch information
gyszalai committed Oct 12, 2017
1 parent 799aa17 commit 3068996
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions dist/src/Indicator.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export declare enum IndicatorStatus {
UNKNOWN = 0,
UP = 1,
DOWN = 2,
UNKNOWN = "UNKNOWN",
UP = "UP",
DOWN = "DOWN",
}
export interface IndicatorResponse {
status: IndicatorStatus;
Expand Down
6 changes: 3 additions & 3 deletions dist/src/Indicator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/Indicator.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/Xray.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/Indicator.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export enum IndicatorStatus {
UNKNOWN,
UP,
DOWN,
UNKNOWN = "UNKNOWN",
UP = "UP",
DOWN = "DOWN",
}

export interface IndicatorResponse {
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"noUnusedLocals": true,
"strictNullChecks": true,
"module": "commonjs",
"target": "ES6",
"target": "es2015",
"lib": [
"ES6"
"es2015"
],
"sourceMap": true,
"declaration": true,
Expand Down

0 comments on commit 3068996

Please sign in to comment.