shout if react is not imported as it breaks things

This commit is contained in:
Dexter 2021-12-16 12:35:25 +00:00
parent c7dddd5dc5
commit d01b0a9b2c

View File

@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "ES2020",
"lib": [
"dom",
"dom.iterable",
"ES2020"
],
"lib": ["dom", "dom.iterable", "ES2020"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
@ -17,18 +13,11 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"jsx": "react",
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "dist/types",
"noEmit": true
"declarationDir": "dist/types"
},
"include": [
"src"
],
"exclude": [
"node_modules",
"**/*.stories.tsx",
"**/*.test.tsx"
]
"include": ["src"],
"exclude": ["node_modules", "**/*.stories.tsx", "**/*.test.tsx"]
}