You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to protobuf. I'm using "protobufjs": "^6.8.8" for generating typescript. And imported this generated file to my component.spec.ts , then got compilation error when run ng serve
[ERROR] target/generated-sources-js/xxx.d.ts(4253,40): error TS2304: Cannot find name 'Long'.
I included the "@types/long": "^4.0.0", "long": "^4.0.0", in my package.json dependencies. Still got the same error.
Please advise. Many thanks
The text was updated successfully, but these errors were encountered:
I'm new to protobuf. I'm using "protobufjs": "^6.8.8" for generating typescript. And imported this generated file to my component.spec.ts , then got compilation error when run ng serve
[ERROR] target/generated-sources-js/xxx.d.ts(4253,40): error TS2304: Cannot find name 'Long'.
I included the "@types/long": "^4.0.0", "long": "^4.0.0", in my package.json dependencies. Still got the same error.
Please advise. Many thanks
The text was updated successfully, but these errors were encountered: