We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9fa8efa + 0352a22 commit 85104b9Copy full SHA for 85104b9
lib/utils.js
@@ -97,6 +97,8 @@ const typify = (type) => {
97
return 'Promise<any>'
98
case 'url':
99
return 'string'
100
+ case 'touchbaritem':
101
+ return '(TouchBarButton | TouchBarColorPicker | TouchBarGroup | TouchBarLabel | TouchBarPopover | TouchBarScrubber | TouchBarSegmentedControl | TouchBarSlider | TouchBarSpacer | null)'
102
}
103
// if (type.substr(0, 8) === 'TouchBar' && type !== 'TouchBar') {
104
// return `Electron.${type}`
0 commit comments