fix(build): add correct build script typings

Co-Authored-By: Daniel Sogl <mytechde@outlook.com>
This commit is contained in:
Daniel Sogl 2021-01-23 18:53:12 +01:00
parent 80a537c0db
commit f7a3c7127a

View File

@ -78,7 +78,7 @@ async function publish(ignoreErrors = false) {
// upload 1 package per CPU thread at a time
const worker = Queue.async.asyncify(
(pkg: any) =>
new Promise<any>((resolve, reject) => {
new Promise<string | void>((resolve, reject) => {
exec(`npm publish ${pkg} ${FLAGS}`, (err, stdout) => {
if (stdout) {
Logger.verbose(stdout.trim());