Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ProxyConstructor

Hierarchy

  • ProxyConstructor

Index

Constructors

Methods

Constructors

constructor

  • new ProxyConstructor<T>(target: T, handler: ProxyHandler<T>): T
  • Type parameters

    • T: object

    Parameters

    Returns T

Methods

revocable

  • revocable<T>(target: T, handler: ProxyHandler<T>): { proxy: T; revoke: () => void }
  • Type parameters

    • T: object

    Parameters

    Returns { proxy: T; revoke: () => void }

    • proxy: T
    • revoke: () => void
        • (): void
        • Returns void