mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-30 21:47:35 +00:00
[@types/prosemirror-transform] Fix canSplit type (#39380)
* fix canSplit * update version * revert version update
This commit is contained in:
parent
aa561f1dfa
commit
db42458e8a
2
types/prosemirror-transform/index.d.ts
vendored
2
types/prosemirror-transform/index.d.ts
vendored
@ -532,7 +532,7 @@ export function canSplit<S extends Schema = any>(
|
||||
doc: ProsemirrorNode<S>,
|
||||
pos: number,
|
||||
depth?: number,
|
||||
typesAfter?: Array<{ type: NodeType<S>; attrs?: { [key: string]: any } | null }>
|
||||
typesAfter?: Array<{ type: NodeType<S>; attrs?: { [key: string]: any } | null } | null | undefined>
|
||||
): boolean;
|
||||
/**
|
||||
* Test whether the blocks before and after a given position can be
|
||||
|
||||
Loading…
Reference in New Issue
Block a user