feat: modify import to reference type
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
				
			|||||||
import './typings/global'
 | 
					/// <reference path="./typings/global.ts" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export * from './task'
 | 
					export * from './task'
 | 
				
			||||||
export * from './event'
 | 
					export * from './event'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
import './typings'
 | 
					/// <reference path="./typings/index.ts" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { server, plugin, command, event, task } from '@ms/api'
 | 
					import { server, plugin, command, event, task } from '@ms/api'
 | 
				
			||||||
import { DefaultContainer as container } from '@ms/container'
 | 
					import { DefaultContainer as container } from '@ms/container'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
import './typings'
 | 
					/// <reference path="./typings/index.ts" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import { server, plugin, command, event, task } from '@ms/api'
 | 
					import { server, plugin, command, event, task } from '@ms/api'
 | 
				
			||||||
import { DefaultContainer as container } from '@ms/container'
 | 
					import { DefaultContainer as container } from '@ms/container'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user