Skip to content

Commit

Permalink
fix(): hotfix, change if to else if in compute symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Dec 7, 2020
1 parent 9aff370 commit b152807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/module.declarator.ts
Expand Up @@ -35,7 +35,7 @@ export class ModuleDeclarator {
if (options.className) {
target.symbol = options.className;
}
if (options.type !== undefined) {
else if (options.type !== undefined) {
target.symbol = classify(options.name).concat(capitalize(options.type));
} else {
target.symbol = classify(options.name);
Expand Down

0 comments on commit b152807

Please sign in to comment.