You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
[Web] Fix closure compiler typedef annotation
The typedef annotation is expected to come bofre a var (or const) since it's most commonly used in externs. Use an inline definition instead.
This commit is contained in:
@@ -72,8 +72,7 @@ const Features = { // eslint-disable-line no-unused-vars
|
|||||||
*
|
*
|
||||||
* @returns {Array<string>} A list of human-readable missing features.
|
* @returns {Array<string>} A list of human-readable missing features.
|
||||||
* @function Engine.getMissingFeatures
|
* @function Engine.getMissingFeatures
|
||||||
* @typedef {{ threads: boolean }} SupportedFeatures
|
* @param {{threads: (boolean|undefined)}} supportedFeatures
|
||||||
* @param {SupportedFeatures} supportedFeatures
|
|
||||||
*/
|
*/
|
||||||
getMissingFeatures: function (supportedFeatures = {}) {
|
getMissingFeatures: function (supportedFeatures = {}) {
|
||||||
const {
|
const {
|
||||||
|
|||||||
Reference in New Issue
Block a user