Open KishoreKoushik opened 4 years ago
i am facing the same error
I got this error too. How can i solve this
Just install the latest version of typescript.
npm i typescript@latest
Just install the latest version of typescript.
npm i typescript@latest
This worked.
I am facing the same problem as I can solve this?
Diego use the command below to update to the latest typescript.
npm i typescript@latest
work to me install firebase
npm i firebase@4.6.2
I was doing RnD for push notifications. When I do npm run build I am getting below errors
[12:36:30] typescript: node_modules/firebase/index.d.ts, line: 4369 ';' expected.
[12:36:30] typescript: node_modules/firebase/index.d.ts, line: 4369 'EventNameString' only refers to a type, but is being used as a value here.
[12:36:30] typescript: node_modules/firebase/index.d.ts, line: 4369 'never' only refers to a type, but is being used as a value here.
[12:36:30] typescript: node_modules/firebase/index.d.ts, line: 4369 Cannot find name 'T'.
To Reproduce Steps to reproduce the behavior:
npm run build
You can find my code at https://github.com/KishoreKoushik/PushNotification.git