From 5bce66036b018950fe9e5e94a955411e81f751f8 Mon Sep 17 00:00:00 2001 From: David Hahn Date: Thu, 21 Sep 2017 17:26:02 +0200 Subject: [PATCH] Change Selection.content from Slice to a function returning a Slice --- types/prosemirror-state/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/prosemirror-state/index.d.ts b/types/prosemirror-state/index.d.ts index 92a488d1c7..e85e984c83 100644 --- a/types/prosemirror-state/index.d.ts +++ b/types/prosemirror-state/index.d.ts @@ -91,7 +91,7 @@ export class Selection { empty: boolean; eq(p: Selection): boolean; map(doc: Node, mapping: Mappable): Selection; - content: Slice; + content(): Slice; replace(tr: Transaction, content?: Slice): void; replaceWith(tr: Transaction, node: Node): void; toJSON(): AnyObject;