Skip to content

Commit

Permalink
fix(react): remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Aykut Saraç committed Oct 17, 2023
1 parent fd0e485 commit e23831a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-react-exports.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ for (const module of customElementsModules) {
const predefinedEventName = `${componentName}${eventName.split("onBl")[1]}`;

eventStatements.push(`export declare type ${predefinedEventName} = ${eventType};`);
}) || [];
});

const importPath = path.replace(/^src\//, "").replace(/\.ts$/, "");

Expand Down

0 comments on commit e23831a

Please sign in to comment.