@pnpm/build-modules patch requiresBuild may be of any value. This is just a workaround to a typing issue. requiresBuild will always be boolean.