diff options
| author | Hannah <hannah_chow@brown.edu> | 2020-02-11 06:34:19 -0500 | 
|---|---|---|
| committer | Hannah <hannah_chow@brown.edu> | 2020-02-11 06:34:19 -0500 | 
| commit | b60154479add51f826afaeff074cf43a6b416831 (patch) | |
| tree | 723f7f1356b1c3dcf5c409347b125d5a577b538f /src/new_fields/CursorField.ts | |
| parent | 74ca8ac01e32faa8adab54ddfd806fe46cda03ec (diff) | |
| parent | dc6453e27375a1b3d614a74b7fd1d83695f130d7 (diff) | |
merge
Diffstat (limited to 'src/new_fields/CursorField.ts')
| -rw-r--r-- | src/new_fields/CursorField.ts | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/src/new_fields/CursorField.ts b/src/new_fields/CursorField.ts index fd86031a8..28467377b 100644 --- a/src/new_fields/CursorField.ts +++ b/src/new_fields/CursorField.ts @@ -2,7 +2,7 @@ import { ObjectField } from "./ObjectField";  import { observable } from "mobx";  import { Deserializable } from "../client/util/SerializationHelper";  import { serializable, createSimpleSchema, object, date } from "serializr"; -import { OnUpdate, ToScriptString, Copy } from "./FieldSymbols"; +import { OnUpdate, ToScriptString, ToString, Copy } from "./FieldSymbols";  export type CursorPosition = {      x: number, @@ -60,4 +60,7 @@ export default class CursorField extends ObjectField {      [ToScriptString]() {          return "invalid";      } +    [ToString]() { +        return "invalid"; +    }  }
\ No newline at end of file | 
