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
Creates a fix function to convert imports to namespace imports.
173
+
Creates a fix generator function to convert imports to namespace imports.
174
174
@param {Object} options - The options object.
175
175
@param {import('estree').Node} options.node - The AST node representing the import/require statement.
176
176
@param {import('eslint').SourceCode} options.sourceCode - The ESLint source code object.
177
177
@param {string} options.moduleName - The name of the module being imported.
178
-
@returns {(fixer: import('eslint').Rule.RuleFixer) => Array<import('eslint').Rule.Fix>|void} A function that takes a fixer and returns an array of fixes or void.
178
+
@returns {(fixer: import('eslint').Rule.RuleFixer) => Generator<import('eslint').Rule.Fix, void, undefined>} A function that takes a fixer and returns a generator of fixes.
0 commit comments