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
Bug Report
Plugin(s)
"@capacitor/status-bar": "^7.0.1"Capacitor Version
Platform(s)
Unrelated
Current Behavior
When using
StatusBar.getInfo(), the returned object from the Promise of typeStatusBarInfocontains aheightproperty, 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
Other Technical Details
No
Additional Context
No