Skip to content

Commit cd3d28b

Browse files
committed
🚷 fix TypeScript error
1 parent d2b4084 commit cd3d28b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • packages/bubble-dev/start-preset/src

packages/bubble-dev/start-preset/src/pkg.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export const Pkg = (replacers?: TReplacers) => (packagePath: string, shouldAddMi
137137
}
138138
}
139139

140-
const allReplacers = {
140+
const allReplacers: { [k: string]: string } = {
141141
...userReplacers,
142142
...(name !== null && { $name$: name }),
143143
}
@@ -192,7 +192,6 @@ export const Pkg = (replacers?: TReplacers) => (packagePath: string, shouldAddMi
192192
for (const [key, value] of Object.entries(allReplacers)) {
193193
stream = stream
194194
.pipe(lineStream())
195-
// @ts-ignore
196195
.pipe(replaceStream(key, value))
197196
.on('error', reject)
198197
}

0 commit comments

Comments
 (0)