Skip to content

Commit

Permalink
const enums
Browse files Browse the repository at this point in the history
  • Loading branch information
Samchon committed Sep 3, 2018
1 parent a6f0e9f commit 43a547b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"email": "[email protected]",
"url": "http://samchon.org"
},
"version": "2.0.5-dev.20180830",
"version": "2.0.5-dev.20180903",
"main": "./index.js",
"typings": "./index.d.ts",
"scripts": {
Expand Down
17 changes: 6 additions & 11 deletions src/base/thread/enums.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
/**
* @hidden
*/
export type AccessType = boolean;
export namespace AccessType
export const enum AccessType
{
export const WRITE = false;
export const READ = true;
WRITE,
READ
}

/**
* @hidden
*/
export type LockType = boolean;
export namespace LockType
export const enum LockType
{
export const HOLD = false;
export const KNOCK = true;
HOLD,
KNOCK
}

0 comments on commit 43a547b

Please sign in to comment.