Topic: MDB5 React Pro Typescript setup error (TS1434: Unexpected keyword or identifier)

scubadrew priority asked 3 months ago

Expected behavior


Directions indicate:

Inside new d.ts file you have to create a declaration module for mdb-react-ui-kit.


declaration module 'mdb-react-ui-kit'{ ... }

I get an error: TS1434: Unexpected keyword or identifier. on the word declaration

Resources (screenshots, code snippets etc.)

enter image description here

Wojciech Staniszewski staff answered 3 months ago

We will check and try to fix this error before the next release. Thanks for reporting!

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 4.1.0
  • Device: Mac
  • Browser: Electron
  • OS: MacOS
  • Provided sample code: Yes
  • Provided link: Yes