Type Declaratoins Error in Locales

I get the following compiler error when upgrading from 3.2.3 to 3.2.8. I am attempting to import Labels from "react-phone-number-input/locale/en";. (.json import has the same issue since they share the same type definitions).

node_modules/react-phone-number-input/locale/en.json.d.ts:3:1 - error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

3 const Locale: Locale
  ~~~~~
Assignee Loading
Time tracking Loading