Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/state / globals.d.ts
Size: Mime:
/**
 * @see https://basarat.gitbooks.io/typescript/docs/project/globals.html
 * @see https://www.typescriptlang.org/docs/handbook/declaration-files/templates/global-d-ts.html
 * @see https://definitelytyped.org/guides/best-practices.html
 * @see https://stackoverflow.com/questions/41717006/node-js-global-variable-and-typescript
 */
import { ApplicationTypes } from './src/typings'
import OneUrl from './globals.node'

declare global {
  const oneUrl = OneUrl
  interface Document {
    documentMode?: string
  }
  interface Window {
    application: ApplicationTypes
    // @note better to define like above
    // document: Document & {}
  }
}