vue3-yuanma/packages/global.d.ts

25 lines
649 B
TypeScript
Raw Normal View History

2018-09-19 15:35:38 +00:00
// Global compile-time constants
declare var __DEV__: boolean
2019-11-04 16:24:22 +00:00
declare var __TEST__: boolean
declare var __BROWSER__: boolean
declare var __GLOBAL__: boolean
declare var __ESM_BUNDLER__: boolean
declare var __ESM_BROWSER__: boolean
declare var __NODE_JS__: boolean
declare var __COMMIT__: string
2019-10-14 19:31:43 +00:00
declare var __VERSION__: string
2019-09-04 00:51:42 +00:00
// Feature flags
declare var __FEATURE_OPTIONS_API__: boolean
declare var __FEATURE_PROD_DEVTOOLS__: boolean
2019-09-09 20:28:32 +00:00
declare var __FEATURE_SUSPENSE__: boolean
2020-07-28 02:58:37 +00:00
// for tests
declare namespace jest {
interface Matchers<R, T> {
toHaveBeenWarned(): R
toHaveBeenWarnedLast(): R
toHaveBeenWarnedTimes(n: number): R
}
}