chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425)
This commit is contained in:
parent
fcdb7ad21a
commit
70190ec2b1
27 changed files with 70 additions and 128 deletions
|
@ -60,7 +60,7 @@ const main = async () => {
|
|||
output += chunk.toString();
|
||||
});
|
||||
child.stderr.on('data', chunk => console.error(chunk.toString()));
|
||||
await new Promise((resolve, reject) => child.on('exit', (code) => {
|
||||
await new Promise<void>((resolve, reject) => child.on('exit', (code) => {
|
||||
if (code !== 0) {
|
||||
console.error(output);
|
||||
return reject(new Error(`Failed to list webpack dependencies for entry: ${webpackTarget.name}`));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue