Since version 1.12.0 : error TS2339: Property 'getType' does not exist on type 'PhoneNumber'
```typescript
import { isValidPhoneNumber, NumberType, parsePhoneNumberWithError } from "libphonenumber-js/max";
```
```typescript
const parsedPhoneNumber = parsePhoneNumberWithError(phoneNumber);
if (parsedPhoneNumber) {
return parsedPhoneNumber.getType();
}
```
With the above code, when building the code, I got the following error :
`error TS2339: Property 'getType' does not exist on type 'PhoneNumber'`
It Works well with the version 1.11.19.
issue