browser.d.ts 393 B

123456789101112
  1. /**
  2. * This is a browser shim that provides the same functional interface
  3. * as the main node export, but it does nothing.
  4. * @module
  5. */
  6. import type { Handler } from './index.js';
  7. export declare const onExit: (cb: Handler, opts: {
  8. alwaysLast?: boolean;
  9. }) => () => void;
  10. export declare const load: () => void;
  11. export declare const unload: () => void;
  12. //# sourceMappingURL=browser.d.ts.map