register.d.ts 362 B

1234567891011121314151617
  1. import Promise = require('./index');
  2. declare function register (module?: string, options?: register.Options): register.Register;
  3. declare namespace register {
  4. export interface Register {
  5. Promise: typeof Promise;
  6. implementation: string;
  7. }
  8. export interface Options {
  9. Promise?: typeof Promise;
  10. global?: boolean
  11. }
  12. }
  13. export = register;