diff options
author | Sam Wilkins <abdullah_ahmed@brown.edu> | 2019-05-04 18:59:30 -0400 |
---|---|---|
committer | Sam Wilkins <abdullah_ahmed@brown.edu> | 2019-05-04 18:59:30 -0400 |
commit | c9f3a1934548169ebe3c2e97968680ff339e304e (patch) | |
tree | 36140721e9a76bc212b28bc04f4662e96c7a2c1f /src/new_fields/ObjectField.ts | |
parent | 1ccabe155cb4f23c0aa7e37f91cd4a303008b8c7 (diff) |
initial commit - todo: use cursor field rather than generic tuple field
Diffstat (limited to 'src/new_fields/ObjectField.ts')
-rw-r--r-- | src/new_fields/ObjectField.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_fields/ObjectField.ts b/src/new_fields/ObjectField.ts index 0f3777af6..715c6a924 100644 --- a/src/new_fields/ObjectField.ts +++ b/src/new_fields/ObjectField.ts @@ -5,7 +5,7 @@ export const Parent = Symbol("Parent"); export const Copy = Symbol("Copy"); export abstract class ObjectField { - protected [OnUpdate]?: (diff?: any) => void; + protected [OnUpdate](diff?: any) { }; private [Parent]?: Doc; abstract [Copy](): ObjectField; } |