-
Notifications
You must be signed in to change notification settings - Fork 718
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67d862a
commit 5fce9fd
Showing
10 changed files
with
1,107 additions
and
165 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/// <reference path="../lib.core.d.ts" /> | ||
|
||
|
||
/** | ||
* This is a simple enumeration. | ||
*/ | ||
export enum SimpleEnum | ||
{ | ||
/** | ||
* This is the first enum member. | ||
*/ | ||
EnumValue1 = 1, | ||
|
||
/** | ||
* This is the second enum member. | ||
*/ | ||
EnumValue2 = 2, | ||
|
||
/** | ||
* This is the third enum member. | ||
*/ | ||
EnumValue3 = 4 | ||
} | ||
|
||
|
||
/** | ||
* This is an enumeration extended by a module. | ||
*/ | ||
export enum ModuleEnum | ||
{ | ||
/** | ||
* This is the first enum member. | ||
*/ | ||
EnumValue1 = 1, | ||
|
||
/** | ||
* This is the second enum member. | ||
*/ | ||
EnumValue2 = 2, | ||
|
||
/** | ||
* This is the third enum member. | ||
*/ | ||
EnumValue3 = 4 | ||
} | ||
|
||
|
||
/** | ||
* This is a module extending an enumeration. | ||
*/ | ||
export module ModuleEnum | ||
{ | ||
/** | ||
* This is a variable appended to an enumeration. | ||
*/ | ||
var enumValue:string; | ||
|
||
|
||
/** | ||
* This is a function appended to an enumeration. | ||
*/ | ||
function enumFunction() {} | ||
} |
Oops, something went wrong.