This commit is contained in:
21
node_modules/slate-history/dist/history.d.ts
generated
vendored
Normal file
21
node_modules/slate-history/dist/history.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import { Operation, Range } from 'slate';
|
||||
interface Batch {
|
||||
operations: Operation[];
|
||||
selectionBefore: Range | null;
|
||||
}
|
||||
/**
|
||||
* `History` objects hold all of the operations that are applied to a value, so
|
||||
* they can be undone or redone as necessary.
|
||||
*/
|
||||
export interface History {
|
||||
redos: Batch[];
|
||||
undos: Batch[];
|
||||
}
|
||||
export declare const History: {
|
||||
/**
|
||||
* Check if a value is a `History` object.
|
||||
*/
|
||||
isHistory(value: any): value is History;
|
||||
};
|
||||
export {};
|
||||
//# sourceMappingURL=history.d.ts.map
|
||||
Reference in New Issue
Block a user