Skip to content

Commit 35dc949

Browse files
committed
refactor
1 parent 7b82456 commit 35dc949

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/generate.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ export function createGeneratePlugin({
143143
})
144144

145145
if (isEntry) {
146-
const name: string | undefined = inputAliasMap.get(id)
147-
146+
const name = inputAliasMap.get(id)
148147
this.emitFile({
149148
type: 'chunk',
150149
id: dtsId,

0 commit comments

Comments
 (0)