不要怂,就是干,撸起袖子干!

Commit db16cd56 by Simon Schick Committed by Erik Seliger

fix(typescript): do not use const enums (#10585)

Fixes #10579
1 parent d566c25e
Showing with 3 additions and 3 deletions
......@@ -59,14 +59,14 @@ export namespace Transaction {
* });
* ```
*/
const enum ISOLATION_LEVELS {
enum ISOLATION_LEVELS {
READ_UNCOMMITTED = 'READ UNCOMMITTED',
READ_COMMITTED = 'READ COMMITTED',
REPEATABLE_READ = 'REPEATABLE READ',
SERIALIZABLE = 'SERIALIZABLE',
}
const enum TYPES {
enum TYPES {
DEFERRED = 'DEFERRED',
IMMEDIATE = 'IMMEDIATE',
EXCLUSIVE = 'EXCLUSIVE',
......@@ -107,7 +107,7 @@ export namespace Transaction {
* ```
* UserModel will be locked but TaskModel won't!
*/
const enum LOCK {
enum LOCK {
UPDATE = 'UPDATE',
SHARE = 'SHARE',
/**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!