Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump @commitlint/cli from 16.3.0 to 17.1.2 #12403

Merged
merged 3 commits into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@babel/preset-typescript": "^7.14.5",
"@babel/runtime": "^7.14.5",
"@babel/traverse": "^7.14.5",
"@commitlint/cli": "^16.2.1",
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^16.2.1",
"@tarojs/components": "workspace:*",
"@tarojs/helper": "workspace:*",
Expand Down
17 changes: 17 additions & 0 deletions packages/taro-tt/types/shims-tt.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import Taro from '@tarojs/taro'

declare module '@tarojs/taro' {
namespace getSystemInfoSync {
interface Result {
/** 宿主 APP 名称,详情见 [appName 说明](https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/api/device/system-information/tt-get-system-info/#appName-%E8%AF%B4%E6%98%8E) */
appName?: string
}
}

namespace getSystemInfo {
interface Result {
/** 宿主 APP 名称,详情见 [appName 说明](https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/api/device/system-information/tt-get-system-info-sync/#appName-%E8%AF%B4%E6%98%8E) */
appName?: string
}
}
}
Loading