diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-11-26 19:50:28 -0500 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-11-26 19:50:28 -0500 |
commit | 328de7ab14cc56275082db0b3ffec8ad56258a3e (patch) | |
tree | bf697786b7b147944873bd3edaeed2077dd5c7ca /src/new_fields/util.ts | |
parent | 96519f4537895edcd1a23f353322459de328a330 (diff) | |
parent | e324248724a130a84b459a072dc846f500f8d9b0 (diff) |
merge
Diffstat (limited to 'src/new_fields/util.ts')
-rw-r--r-- | src/new_fields/util.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/new_fields/util.ts b/src/new_fields/util.ts index 04194509c..4147be278 100644 --- a/src/new_fields/util.ts +++ b/src/new_fields/util.ts @@ -4,7 +4,7 @@ import { SerializationHelper } from "../client/util/SerializationHelper"; import { ProxyField } from "./Proxy"; import { RefField } from "./RefField"; import { ObjectField } from "./ObjectField"; -import { action } from "mobx"; +import { action, trace } from "mobx"; import { Parent, OnUpdate, Update, Id, SelfProxy, Self } from "./FieldSymbols"; import { DocServer } from "../client/DocServer"; @@ -12,6 +12,10 @@ function _readOnlySetter(): never { throw new Error("Documents can't be modified in read-only mode"); } +export function TraceMobx() { + //trace(); +} + export interface GetterResult { value: FieldResult; shouldReturn?: boolean; |