Skip to content

[1.12.0 regression] Type error: Property 'isValid' does not exist on type 'PhoneNumber'. #480

@davecarlson

Description

@davecarlson

I belive the commit you've just made ~ 30 minutes ago is causing this.

All builds are now failing.

Type error: Property 'isValid' does not exist on type 'PhoneNumber'.
  278 |       const phoneNumber = parsePhoneNumber("07000123123", "GB");
  279 |
> 280 |       if (phoneNumber.isValid()) {
      |                       ^

Next.js build worker exited with code: 1 and signal: null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions