Open mattp0123 opened 1 year ago
Does react-hot-toast modify the JSX element type?
react-hot-toast
const { AutoLayout } = figma.widget function MyWidget() { return ( <AutoLayout // ... /> ) }
My tsconfig:
{ "compilerOptions": { "moduleResolution": "Bundler", "jsx": "react", "jsxFactory": "figma.widget.h", "jsxFragmentFactory": "figma.widget.Fragment", "target": "es6", "strict": true, "skipLibCheck": true, "typeRoots": ["node_modules/@figma", "node_modules/@types"], "baseUrl": "src", "paths": { "~/*": ["*"] } } }
Does
react-hot-toast
modify the JSX element type?My tsconfig: