Type alias HasDriver<T>

HasDriver<T>: {
    driver: (() => T);
    setDriver: ((newDriver: T) => void);
}

Type Parameters

  • T

Type declaration

  • driver: (() => T)
      • (): T
      • Returns T

  • setDriver: ((newDriver: T) => void)
      • (newDriver: T): void
      • Parameters

        • newDriver: T

        Returns void

Generated using TypeDoc