Fix jsdoc typing in theme. (#3798)

This commit is contained in:
Monica Kozbial
2020-04-03 17:09:08 -07:00
committed by GitHub
parent 4f9b4a707a
commit b64028521f

View File

@@ -97,22 +97,22 @@ Blockly.Theme.CategoryStyle;
/**
* A component style.
* @typedef {{
* workspaceBackgroundColour:string?,
* toolboxBackgroundColour:string?,
* toolboxForegroundColour:string?,
* flyoutBackgroundColour:string?,
* flyoutForegroundColour:string?,
* flyoutOpacity:number?,
* scrollbarColour:string?,
* scrollbarOpacity:number?,
* insertionMarkerColour:string?,
* insertionMarkerOpacity:number?,
* markerColour:string?,
* cursorColour:string?,
* selectedGlowColour:string?,
* selectedGlowOpacity:number?,
* replacementGlowColour:string?,
* replacementGlowOpacity:number?
* workspaceBackgroundColour:?string,
* toolboxBackgroundColour:?string,
* toolboxForegroundColour:?string,
* flyoutBackgroundColour:?string,
* flyoutForegroundColour:?string,
* flyoutOpacity:?number,
* scrollbarColour:?string,
* scrollbarOpacity:?number,
* insertionMarkerColour:?string,
* insertionMarkerOpacity:?number,
* markerColour:?string,
* cursorColour:?string,
* selectedGlowColour:?string,
* selectedGlowOpacity:?number,
* replacementGlowColour:?string,
* replacementGlowOpacity:?number
* }}
*/
Blockly.Theme.ComponentStyle;
@@ -120,9 +120,9 @@ Blockly.Theme.ComponentStyle;
/**
* A font style.
* @typedef {{
* family:string?,
* weight:string?,
* size:number?
* family:?string,
* weight:?string,
* size:?number
* }}
*/
Blockly.Theme.FontStyle;