Fix TS error in tools/package-release (#59569)

The error was causing pnpm --filter='./tools/package-release' build to fail
with

src/validate.ts:118:86 - error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.

118   .filter( ( name: string ) => excludedPackages.length && excludedPackages.includes( name ) );
This commit is contained in:
Rostislav Wolný 2025-07-09 17:02:13 +02:00 committed by GitHub
parent 68855a96f8
commit 23f9c0799e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,4 +7,4 @@ import { dirname } from 'path';
export const MONOREPO_ROOT = dirname( dirname( dirname( __dirname ) ) );
// Packages that are not meant to be released by monorepo team for whatever reason.
export const excludedPackages = [];
export const excludedPackages: string[] = [];