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 36b3650 commit b1715e8Copy full SHA for b1715e8
packages/toolkit/tsup.config.ts
@@ -214,7 +214,9 @@ export default defineConfig((options) => {
214
} else if (generateTypedefs) {
215
if (folder === '') {
216
// we need to delete the declaration file and replace it with the original source file
217
- fs.rmSync(path.join(outputFolder, 'uncheckedindexed.d.ts'))
+ fs.rmSync(path.join(outputFolder, 'uncheckedindexed.d.ts'), {
218
+ force: true,
219
+ })
220
221
fs.copyFileSync(
222
'src/uncheckedindexed.ts',
0 commit comments