GithubHelp home page GithubHelp logo

Comments (4)

vlad-ignatov avatar vlad-ignatov commented on August 19, 2024 1

This should be fixed in the latest version 2.1.1. Apologies for the inconvenience and feel free to reopen if you are still having issues.

from client-js.

michaelgriffithus avatar michaelgriffithus commented on August 19, 2024

I also was having this exact same error with my ReactJS app. Its something in your tsconfig.json file. I removed the contents of the file (not the file itself) and let the tsc regenerate the file with default values. It fixed my problem.

from client-js.

Nefari0uss avatar Nefari0uss commented on August 19, 2024

Edit: I ultimately managed to get around the issue by adding the library via CDN in my index.html and then accessing it as a variable on the page via (window as any).FHIR.

Original Comment:
@michaelgriffithus Do you mean delete the contents of the typings file? For reference, here is my tsconfig:

{
  "compilerOptions": {
    "target": "esnext",
    "module": "esnext",
    "strict": true,
    "jsx": "preserve",
    "importHelpers": true,
    "moduleResolution": "node",
    "experimentalDecorators": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "sourceMap": true,
    "baseUrl": ".",
    "types": [
      "webpack-env",
      "jest"
    ],
    "paths": {
      "@/*": [
        "src/*"
      ]
    },
    "lib": [
      "esnext",
      "dom",
      "dom.iterable",
      "scripthost"
    ]
  },
  "include": [
    "src/**/*.ts",
    "src/**/*.tsx",
    "src/**/*.vue",
    "tests/**/*.ts",
    "tests/**/*.tsx"
  ],
  "exclude": [
    "node_modules"
  ]
}

from client-js.

Sanjeev-92 avatar Sanjeev-92 commented on August 19, 2024

i am implementing
oauth2ReadyCallback = (smartClient: fhirclient.SMART.SMARTClient) => {
if (!this._smartClient) {
this._smartClient = smartClient;
this._smartClientSubject.next(smartClient);
}
}
Here fhirclient.SMART.SMARTClient is not recognised please help me to solve this issue

from client-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.