I installed https://www.npmjs.com/package/@types/fhir and VSCode is able to resolve the package fine, however when I do ng serve
it complains with:
Cannot find namespace 'fhir'.
What could be the difference and how can I resolve it?
答案 0 :(得分:1)
Got it sorted out with import {} from '@types/fhir';
.