From 38bd04e67c13d073057321c5ba89a1e1aef02179 Mon Sep 17 00:00:00 2001 From: bob Date: Fri, 1 Feb 2019 09:48:17 -0500 Subject: fixed compile errors. --- src/fields/DocumentReference.ts | 5 ----- src/fields/Field.ts | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'src/fields') 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 { 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(field: Opt, ctor: { new(): T }): Opt { -- cgit v1.2.3-70-g09d2