How do I import react-admin in a React Typescript appplication?

前端 未结 2 1646
滥情空心
滥情空心 2021-02-20 04:22

I\'m trying to set up a react-admin app in typescript and I can\'t quite figure out how to import react-admin. It gives me the (simple) error saying

\"Could not         


        
2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-20 04:56

    if the issue exist after after the .d.ts file creation, use "noImplicitAny": false, in your tsconfig.json

提交回复
热议问题