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 82ddba9 commit dbb5f22Copy full SHA for dbb5f22
src/master-interfaces.ts
@@ -65,14 +65,14 @@ export const generateMasterInterfaces = (
65
newConstDeclarations.push(
66
`const ${classify(module.name)}: typeof ${_.upperFirst(module.name)};`,
67
);
68
- newTypeAliases.push(
69
- `type ${_.upperFirst(module.name)} = Electron.${_.upperFirst(module.name)};`,
70
- );
71
} else {
72
73
`const ${classify(module.name)}: ${_.upperFirst(module.name)};`,
74
75
}
+ newTypeAliases.push(
+ `type ${_.upperFirst(module.name)} = Electron.${_.upperFirst(module.name)};`,
+ );
76
77
78
constDeclarations.push(...newConstDeclarations);
0 commit comments