diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-04-09 08:53:24 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-04-09 08:53:24 -0400 |
commit | 37763de22835e3a4a7ad995eb089d23054109c3d (patch) | |
tree | b84bb1453328b3158a0473fc53126846c0b061ac /src/fields/Field.ts | |
parent | 78e098c4ecb95b90482e7d27fd82fb857de96bb4 (diff) | |
parent | cf86d1b7917f0317af550293344f784a341bd7b9 (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/fields/Field.ts')
-rw-r--r-- | src/fields/Field.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fields/Field.ts b/src/fields/Field.ts index d48509a47..d9db23b9e 100644 --- a/src/fields/Field.ts +++ b/src/fields/Field.ts @@ -12,8 +12,8 @@ export function Cast<T extends Field>(field: FieldValue<Field>, ctor: { new(): T return undefined; } -export const FieldWaiting: FIELD_WAITING = "<Waiting>"; -export type FIELD_WAITING = "<Waiting>"; +export const FieldWaiting: FIELD_WAITING = null; +export type FIELD_WAITING = null; export type FieldId = string; export type Opt<T> = T | undefined; export type FieldValue<T> = Opt<T> | FIELD_WAITING; @@ -65,5 +65,5 @@ export abstract class Field { abstract Copy(): Field; - abstract ToJson(): { _id: string, type: Types, data: any } + abstract ToJson(): { _id: string, type: Types, data: any }; }
\ No newline at end of file |