You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/namespace.js
+6-6
Original file line number
Diff line number
Diff line change
@@ -342,16 +342,16 @@ Namespace.prototype.lookupType = function lookupType(path) {
342
342
343
343
/**
344
344
* Looks up the values of the {@link Enum|enum} at the specified path, relative to this namespace.
345
-
* Besides its signature, this methods differs from {@link Namespace#lookup|lookup} in that it returns the enum's values directly and throws instead of returning `null`.
345
+
* Besides its signature, this methods differs from {@link Namespace#lookup|lookup} in that it throws instead of returning `null`.
346
346
* @param {string|string[]} path Path to look up
347
-
* @returns {Object.<string,number>} Enum values
347
+
* @returns {Enum} Looked up enum
348
348
* @throws {Error} If `path` does not point to an enum
0 commit comments