splitpanes.d.ts 510 B

123456789101112131415161718192021
  1. // TODO install @types/splitpanes once updated
  2. declare module 'splitpanes' {
  3. import type { Component } from 'vue'
  4. export interface SplitpaneProps {
  5. horizontal: boolean
  6. pushOtherPanes: boolean
  7. dblClickSplitter: boolean
  8. firstSplitter: boolean
  9. }
  10. export interface PaneProps {
  11. size: number | string
  12. minSize: number | string
  13. maxSize: number | string
  14. }
  15. export type Pane = Component<PaneProps>
  16. export const Pane: Pane
  17. export const Splitpanes: Component<SplitpaneProps>
  18. }