Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript Support is There ? #61

Open
AgnRakul opened this issue Jun 24, 2022 · 2 comments
Open

Typescript Support is There ? #61

AgnRakul opened this issue Jun 24, 2022 · 2 comments

Comments

@AgnRakul
Copy link

No description provided.

@CesarBenavides777
Copy link

@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",
  ]
}

@Sumant-Testbook
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants