微信标签申明

This commit is contained in:
Wang Kejun 2023-09-15 14:24:44 +08:00
parent 9100e1ea55
commit 2a76f19070
2 changed files with 15 additions and 2 deletions

View File

@ -52,11 +52,11 @@
"@types/mocha": "^8.2.0",
"@types/node": "^20.6.0",
"@types/node-schedule": "^2.1.0",
"@types/react": "^18.2.18",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@types/uuid": "^8.3.0",
"@types/wechat-miniprogram": "^3.4.1",
"antd": "^5.8.3",
"antd": "^5.9.0",
"antd-mobile": "^5.32.0",
"antd-mobile-icons": "^0.3.0",
"assert": "^2.0.0",

13
typings/react.d.ts vendored
View File

@ -78,3 +78,16 @@ declare module '*.module.less' {
};
export default classes;
}
/**
*
*/
declare namespace JSX {
interface IntrinsicElements extends JSX.IntrinsicElements {
'wx-open-launch-weapp': React.DetailedHTMLProps<
React.HTMLAttributes<HTMLElement>,
HTMLElement,
{ appid: string }
>;
}
}