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.
1 parent 2a68c2c commit 63d71aaCopy full SHA for 63d71aa
scripts/error-codes/invertObject.js
@@ -16,8 +16,8 @@
16
* into
17
* { 0: 'MUCH ERROR', 1: 'SUCH WRONG' }
18
*/
19
-function invertObject(targetObj /* : ErrorMap */) /* : ErrorMap */ {
20
- const result: {[string]: string} = {};
+function invertObject(targetObj /*: ErrorMap */) /*: ErrorMap */ {
+ const result /*: {[string]: string} */ = {};
21
const mapKeys = Object.keys(targetObj);
22
23
// eslint-disable-next-line no-for-of-loops/no-for-of-loops
0 commit comments