| 
									
										
										
										
											2021-09-07 06:02:27 +08:00
										 |  |  | /// <reference types="vite/client" />
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-09-19 23:35:38 +08:00
										 |  |  | // Global compile-time constants
 | 
					
						
							|  |  |  | declare var __DEV__: boolean | 
					
						
							| 
									
										
										
										
											2019-11-05 00:24:22 +08:00
										 |  |  | declare var __TEST__: boolean | 
					
						
							| 
									
										
										
										
											2019-09-17 23:57:25 +08:00
										 |  |  | declare var __BROWSER__: boolean | 
					
						
							| 
									
										
										
										
											2020-02-14 07:50:36 +08:00
										 |  |  | declare var __GLOBAL__: boolean | 
					
						
							| 
									
										
										
										
											2020-04-21 03:23:26 +08:00
										 |  |  | declare var __ESM_BUNDLER__: boolean | 
					
						
							|  |  |  | declare var __ESM_BROWSER__: boolean | 
					
						
							| 
									
										
										
										
											2020-01-29 22:49:17 +08:00
										 |  |  | declare var __NODE_JS__: boolean | 
					
						
							| 
									
										
										
										
											2019-10-05 10:40:54 +08:00
										 |  |  | declare var __COMMIT__: string | 
					
						
							| 
									
										
										
										
											2019-10-15 03:31:43 +08:00
										 |  |  | declare var __VERSION__: string | 
					
						
							| 
									
										
										
										
											2021-04-03 23:55:44 +08:00
										 |  |  | declare var __COMPAT__: boolean | 
					
						
							| 
									
										
										
										
											2019-09-04 08:51:42 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | // Feature flags
 | 
					
						
							| 
									
										
										
										
											2020-07-21 09:51:30 +08:00
										 |  |  | declare var __FEATURE_OPTIONS_API__: boolean | 
					
						
							|  |  |  | declare var __FEATURE_PROD_DEVTOOLS__: boolean | 
					
						
							| 
									
										
										
										
											2019-09-10 04:28:32 +08:00
										 |  |  | declare var __FEATURE_SUSPENSE__: boolean | 
					
						
							| 
									
										
										
										
											2020-07-28 10:58:37 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | // for tests
 | 
					
						
							|  |  |  | declare namespace jest { | 
					
						
							|  |  |  |   interface Matchers<R, T> { | 
					
						
							|  |  |  |     toHaveBeenWarned(): R | 
					
						
							|  |  |  |     toHaveBeenWarnedLast(): R | 
					
						
							|  |  |  |     toHaveBeenWarnedTimes(n: number): R | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2021-03-28 13:35:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-20 06:24:18 +08:00
										 |  |  | declare module '*.vue' {} | 
					
						
							| 
									
										
										
										
											2021-03-28 13:35:45 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-29 11:36:36 +08:00
										 |  |  | declare module 'file-saver' { | 
					
						
							|  |  |  |   export function saveAs(blob: any, name: any): void | 
					
						
							| 
									
										
										
										
											2021-03-28 13:35:45 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2021-07-30 01:12:50 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | declare module 'stream/web' { | 
					
						
							|  |  |  |   const r: typeof ReadableStream | 
					
						
							| 
									
										
										
										
											2021-08-07 00:41:40 +08:00
										 |  |  |   const t: typeof TransformStream | 
					
						
							|  |  |  |   export { r as ReadableStream, t as TransformStream } | 
					
						
							| 
									
										
										
										
											2021-07-30 01:12:50 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2021-09-07 06:02:27 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | declare module '@vue/repl' { | 
					
						
							|  |  |  |   import { ComponentOptions } from '@vue/runtime-core' | 
					
						
							|  |  |  |   const Repl: ComponentOptions | 
					
						
							|  |  |  |   const ReplStore: any | 
					
						
							|  |  |  |   export { Repl, ReplStore } | 
					
						
							|  |  |  | } |