开发: 登录等功能
This commit is contained in:
8
src/window.d.ts
vendored
Normal file
8
src/window.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { NotificationInstance } from 'antd/es/notification/interface';
|
||||
|
||||
// 在window上挂载 antd Notification
|
||||
declare global {
|
||||
interface Window {
|
||||
NotificationCF: NotificationInstance;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user