diff options
| author | bob <bcz@cs.brown.edu> | 2019-02-07 16:07:29 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-02-07 16:07:29 -0500 |
| commit | f2f9261c6469ed330ff9395fb97e15ca53c891f2 (patch) | |
| tree | c56144676ce79db70d14d79e414f6b9cf53cdf95 /src/fields | |
| parent | ccee60f591cdb00b04c4e5db0483420b9db7b7c8 (diff) | |
final cleanup pass.
Diffstat (limited to 'src/fields')
| -rw-r--r-- | src/fields/Document.ts | 2 | ||||
| -rw-r--r-- | src/fields/Field.ts | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/fields/Document.ts b/src/fields/Document.ts index 3d74c047c..cc81ff4a7 100644 --- a/src/fields/Document.ts +++ b/src/fields/Document.ts @@ -1,4 +1,4 @@ -import { Field, Cast, Opt, FieldWaiting, FIELD_ID, DOC_ID } from "./Field" +import { Field, Cast, Opt, FieldWaiting, FIELD_ID } from "./Field" import { Key, KeyStore } from "./Key" import { NumberField } from "./NumberField"; import { ObservableMap, computed, action, observable } from "mobx"; diff --git a/src/fields/Field.ts b/src/fields/Field.ts index 9880116c0..3c1e976d4 100644 --- a/src/fields/Field.ts +++ b/src/fields/Field.ts @@ -13,7 +13,6 @@ export function Cast<T extends Field>(field: Opt<Field>, ctor: { new(): T }): Op export let FieldWaiting: FIELD_WAITING = "<Waiting>"; export type FIELD_WAITING = "<Waiting>"; export type FIELD_ID = string | undefined; -export type DOC_ID = FIELD_ID; export type Opt<T> = T | undefined | FIELD_WAITING; export abstract class Field { |
