react-useanimations icon indicating copy to clipboard operation
react-useanimations copied to clipboard

Typescript Support is There ?

Open AgnRakul opened this issue 3 years ago • 2 comments

AgnRakul avatar Jun 24 '22 12:06 AgnRakul

@RakulAgn works for me with Typescript example tsconfig:

{
  "compilerOptions": {
    "target": "es2017",
    "lib": [
      "dom",
      "dom.iterable",
      "esnext"
    ],
    "downlevelIteration": true,
    "allowJs": true,
    "skipLibCheck": true,
    "strict": false,
    "forceConsistentCasingInFileNames": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve",
    "baseUrl": "./src",
    "incremental": true,
    "paths": {
      "@assets": [
        "/assets"
      ],
      "@config": [
        "/config"
      ],
      "@SVG": [
        "/svg"
      ],
      "@hooks": [
        "/hooks"
      ],
      "@features": [
        "/features"
      ],
      "@components": [
        "/components"
      ],
      "@styles": [
        "/styles/"
      ],
      "@constants": [
        "/constants"
      ],
      "@context": [
        "/context"
      ],
      "@pages": [
        "/pages"
      ],
      "@providers": [
        "/providers"
      ],
      "@queries": [
        "/queries"
      ],
    }
  },
  "exclude": [
    "node_modules",
  ]
}

CesarBenavides777 avatar Sep 24 '22 15:09 CesarBenavides777

Hey can you please elobarate the .tsconfig file and how can I solve this error? Thank You

Sumant-Testbook avatar Sep 09 '23 19:09 Sumant-Testbook