Enforce const enums

Fixes #1408
This commit is contained in:
Daniel Imms
2018-04-23 17:35:41 -07:00
parent 45b4429712
commit fcde7be62a
7 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ interface IWordPosition {
/**
* A selection mode, this drives how the selection behaves on mouse move.
*/
enum SelectionMode {
const enum SelectionMode {
NORMAL,
WORD,
LINE