Fist:
* The inferred type of 'PaymentStatus' cannot be named without a reference to '.pnpm/@types+react@17.0.38....
* The inferred type of 'HistoryRow' cannot be named without a reference to '.pnpm/@types+react@17.0.38/node_modules/@types/react'. This is likely not portable. A type annotation is necessary.
and more like that...
Second:
some problems trying to check type inside libs
more related: https://github.com/microsoft/TypeScript/issues/42873