Skip to content

Commit e92072a

Browse files
committed
Fix some type issues in tsup.config.ts
1 parent 7e224bd commit e92072a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tsup.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineConfig } from 'tsup'
33

44
const tsconfig = 'tsconfig.build.json' satisfies Options['tsconfig']
55

6-
export default defineConfig(options => {
6+
export default defineConfig((options): Options[] => {
77
const commonOptions: Options = {
88
entry: {
99
reselect: 'src/index.ts'
@@ -53,5 +53,5 @@ export default defineConfig(options => {
5353
outDir: './dist/cjs/',
5454
outExtension: () => ({ js: '.cjs' })
5555
}
56-
] as Options[]
56+
]
5757
})

0 commit comments

Comments
 (0)