types(cli): fit typescript@4.1
This commit is contained in:
@@ -2,7 +2,7 @@ import webpack from 'webpack';
|
||||
import { getPackageConfig } from '../config/webpack.package';
|
||||
|
||||
export async function compilePackage(isMinify: boolean) {
|
||||
return new Promise((resolve, reject) => {
|
||||
return new Promise<void>((resolve, reject) => {
|
||||
const config = getPackageConfig(isMinify);
|
||||
|
||||
webpack(config, (err, stats) => {
|
||||
|
||||
Reference in New Issue
Block a user