You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 line
323 B

  1. import AttributeMap from './AttributeMap';
  2. import Iterator from './Iterator';
  3. interface Op {
  4. insert?: string | object;
  5. delete?: number;
  6. retain?: number;
  7. attributes?: AttributeMap;
  8. }
  9. declare namespace Op {
  10. function iterator(ops: Op[]): Iterator;
  11. function length(op: Op): number;
  12. }
  13. export default Op;