You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					45 lines
				
				674 B
			
		
		
			
		
	
	
					45 lines
				
				674 B
			| 
											2 years ago
										 | import { PluginFunc, UnitType, ConfigType } from 'dayjs/esm' | ||
|  | 
 | ||
|  | declare const plugin: PluginFunc | ||
|  | export = plugin | ||
|  | 
 | ||
|  | declare module 'dayjs/esm' { | ||
|  |   interface Dayjs { | ||
|  |     years(): number | ||
|  | 
 | ||
|  |     years(value: number): Dayjs | ||
|  | 
 | ||
|  |     months(): number | ||
|  | 
 | ||
|  |     months(value: number): Dayjs | ||
|  | 
 | ||
|  |     dates(): number | ||
|  | 
 | ||
|  |     dates(value: number): Dayjs | ||
|  | 
 | ||
|  |     weeks(): number | ||
|  | 
 | ||
|  |     weeks(value: number): Dayjs | ||
|  | 
 | ||
|  |     days(): number | ||
|  | 
 | ||
|  |     days(value: number): Dayjs | ||
|  | 
 | ||
|  |     hours(): number | ||
|  | 
 | ||
|  |     hours(value: number): Dayjs | ||
|  | 
 | ||
|  |     minutes(): number | ||
|  | 
 | ||
|  |     minutes(value: number): Dayjs | ||
|  | 
 | ||
|  |     seconds(): number | ||
|  | 
 | ||
|  |     seconds(value: number): Dayjs | ||
|  | 
 | ||
|  |     milliseconds(): number | ||
|  | 
 | ||
|  |     milliseconds(value: number): Dayjs | ||
|  |   } | ||
|  | } |