tabler / tabler-icons

A set of over 5500 free MIT-licensed high-quality SVG icons for you to use in your web projects.
https://tabler.io/icons
MIT License
18.03k stars 898 forks source link

Icon not considered as JSX element in SolidJS #1062

Closed lockieluke closed 3 months ago

lockieluke commented 6 months ago

image

tsconfig.json

{
  "compilerOptions": {
    "target": "ES2020",
    "useDefineForClassFields": true,
    "module": "ESNext",
    "lib": [
      "ES2020",
      "DOM",
      "DOM.Iterable"
    ],
    "skipLibCheck": true,
    "moduleResolution": "bundler",
    "allowImportingTsExtensions": true,
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "preserve",
    "jsxImportSource": "solid-js",
    "strict": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "noFallthroughCasesInSwitch": true,
    "paths": {
      "@src/*": [
        "./src/*"
      ],
      "@assets/*": [
        "./src/assets/*"
      ]
    }
  },
  "include": [
    "src"
  ],
  "references": [
    {
      "path": "./tsconfig.node.json"
    }
  ]
}
chenkovsky commented 6 months ago

I tried old version. it works

BG-Software-BG commented 6 months ago

Duplicate of #1060

lockieluke commented 6 months ago

what am I doing wrong then

lockieluke commented 6 months ago

can confirm downgrading to 2.47.0 works

daalfox commented 5 months ago

Any update on this?

dmaximyuk commented 4 months ago

Confirm. I'm catching the same mistake. Is there a solution other than any?

pedrodesu commented 3 months ago

bump

pedrodesu commented 3 months ago

as of v3.7.0 this issue seems solved.