You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +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.
|
||||
* @function Engine.getMissingFeatures
|
||||
* @typedef {{ threads: boolean }} SupportedFeatures
|
||||
* @param {SupportedFeatures} supportedFeatures
|
||||
* @param {{threads: (boolean|undefined)}} supportedFeatures
|
||||
*/
|
||||
getMissingFeatures: function (supportedFeatures = {}) {
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user