-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8699145
commit 6bbb714
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} |