diff options
Diffstat (limited to 'src/fields')
| -rw-r--r-- | src/fields/DocumentReference.ts | 5 | ||||
| -rw-r--r-- | src/fields/Field.ts | 4 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/fields/DocumentReference.ts b/src/fields/DocumentReference.ts index f8be335ef..f4f933848 100644 --- a/src/fields/DocumentReference.ts +++ b/src/fields/DocumentReference.ts @@ -1,7 +1,6 @@ import { Field, Opt } from "./Field"; import { Document } from "./Document"; import { Key } from "./Key"; -import { DocumentUpdatedArgs } from "./FieldUpdatedArgs"; export class DocumentReference extends Field { get Key(): Key { @@ -16,10 +15,6 @@ export class DocumentReference extends Field { super(); } - private DocFieldUpdated(args: DocumentUpdatedArgs): void { - // this.FieldUpdated.emit(args.fieldArgs); - } - Dereference(): Opt<Field> { return this.document.GetField(this.key); } diff --git a/src/fields/Field.ts b/src/fields/Field.ts index 46f92f203..1453e52a4 100644 --- a/src/fields/Field.ts +++ b/src/fields/Field.ts @@ -1,6 +1,4 @@ -import { TypedEvent } from "../util/TypedEvent"; -import { FieldUpdatedArgs } from "./FieldUpdatedArgs"; -import { DocumentReference } from "./DocumentReference"; + import { Utils } from "../Utils"; export function Cast<T extends Field>(field: Opt<Field>, ctor: { new(): T }): Opt<T> { |
