- 开启 useCompilerPlugins: ["typescript"],源码改为 app.ts / pages/**/*.ts / utils/*.ts - 引入 miniprogram-api-typings 与 tsconfig(strict),新增 npm run typecheck - 事件与页面数据补充类型,setData 改为整体对象赋值 - AGENTS.md 补充技术栈、类型校验与命名约束
14 lines
315 B
JSON
14 lines
315 B
JSON
{
|
|
"name": "ttstd-family-care-miniapp",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "同同关怀家属端微信小程序(原生,无云服务)",
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"miniprogram-api-typings": "^4.0.0",
|
|
"typescript": "^5.4.0"
|
|
}
|
|
}
|