Open
Description
Bug Report
Plugin(s)
"@capacitor/status-bar": "^7.0.1"
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 7.2.0
@capacitor/core: 7.2.0
@capacitor/android: 7.2.0
@capacitor/ios: 7.2.0
Installed Dependencies:
@capacitor/core: 7.2.0
@capacitor/cli: 7.2.0
@capacitor/ios: 7.2.0
@capacitor/android: 7.2.0
[success] iOS looking great! 👌
[success] Android looking great! 👌
Platform(s)
Unrelated
Current Behavior
When using StatusBar.getInfo()
, the returned object from the Promise of type StatusBarInfo
contains a height
property, but the type definition of the object doesn't. It throws a typescript error, at least on editor.
Expected Behavior
Should define this property on the object
Code Reproduction
StatusBar.getInfo().then(statusBarInfo => {
console.log(statusBarInfo.height)
})
Other Technical Details
No
Additional Context
No