refactor: 拆分小程序 vue 结构
This commit is contained in:
34
types/vendor-stubs.d.ts
vendored
Normal file
34
types/vendor-stubs.d.ts
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
declare module 'react' {
|
||||
const React: any
|
||||
export = React
|
||||
export as namespace React
|
||||
}
|
||||
|
||||
declare module 'react-native' {
|
||||
const ReactNative: any
|
||||
export = ReactNative
|
||||
}
|
||||
|
||||
declare module 'webpack-dev-server' {
|
||||
const WebpackDevServer: any
|
||||
export default WebpackDevServer
|
||||
}
|
||||
|
||||
declare module 'html-webpack-plugin' {
|
||||
const HtmlWebpackPlugin: any
|
||||
export default HtmlWebpackPlugin
|
||||
}
|
||||
|
||||
declare module 'webpack-chain' {
|
||||
const Config: any
|
||||
export default Config
|
||||
}
|
||||
|
||||
type CommonEventFunction<T = any> = (event: T) => void
|
||||
|
||||
declare const Input: any
|
||||
declare const taroResolver: any
|
||||
declare const styleTransformer: any
|
||||
|
||||
type ViteConfig = any
|
||||
type WebpackConfig = any
|
||||
Reference in New Issue
Block a user