Skip to content

Commit 905230f

Browse files
committed
feature: @putout/operator-declare: record: rm useless return
1 parent 095747c commit 905230f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/operator-declare/lib/record.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports.addDeclarationForESLint = (name, path) => {
1616
const programPath = getProgramParentPath(path);
1717
maybeInit(prefix, programPath);
1818

19-
return programPath[prefix][name] = true;
19+
programPath[prefix][name] = true;
2020
};
2121

2222
module.exports.setModuleType = (type, path) => {

0 commit comments

Comments
 (0)