File tree Expand file tree Collapse file tree 5 files changed +9
-6
lines changed Expand file tree Collapse file tree 5 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ import unplugin from './index'
1919 * })
2020 * ```
2121 */
22- const esbuild = unplugin . esbuild
22+ const esbuild = unplugin . esbuild as typeof unplugin . esbuild
2323export default esbuild
2424export { esbuild as 'module.exports' }
Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ import unplugin from './index'
1919 * }
2020 * ```
2121 */
22- const rollup = unplugin . rollup
22+ const rollup = unplugin . rollup as typeof unplugin . rollup
2323export default rollup
2424export { rollup as 'module.exports' }
Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ import unplugin from './index'
1919 * })
2020 * ```
2121 */
22- const vite = unplugin . vite
22+ const vite = unplugin . vite as typeof unplugin . vite
2323export default vite
2424export { vite as 'module.exports' }
Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ import unplugin from './index'
1717 * }
1818 * ```
1919 */
20- const webpack = unplugin . webpack
20+ const webpack = unplugin . webpack as typeof unplugin . webpack
2121export default webpack
2222export { webpack as 'module.exports' }
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
33 "target" : " esnext" ,
4- "jsx" : " preserve" ,
54 "lib" : [" es2022" ],
6- "module" : " esnext" ,
5+ "moduleDetection" : " force" ,
6+ "module" : " preserve" ,
77 "moduleResolution" : " bundler" ,
88 "resolveJsonModule" : true ,
99 "types" : [" node" ],
1010 "strict" : true ,
1111 "noUnusedLocals" : true ,
12+ "declaration" : true ,
13+ "isolatedDeclarations" : true ,
1214 "esModuleInterop" : true ,
1315 "isolatedModules" : true ,
16+ "verbatimModuleSyntax" : true ,
1417 "skipLibCheck" : true
1518 },
1619 "include" : [" src" , " tests" ],
You can’t perform that action at this time.
0 commit comments