cypress
Version:
Cypress is a next generation front end testing tool built for the modern web
14 lines (11 loc) • 563 B
TypeScript
// Shim definition to export a namespace. Cypress is actually a global module
// so import/export isn't allowed there. We import here and define a global module
// so that Cypress can get and use the Blob type
import ImportedBluebird = require('./bluebird')
export = Bluebird
export as namespace Bluebird
declare namespace Bluebird {
type BluebirdStatic = typeof ImportedBluebird
// eslint-disable-next-line @typescript-eslint/no-empty-object-type -- public type, an interface so users can augment it
interface Promise<T> extends ImportedBluebird<T> {}
}