mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
Grafana UI: Fix TS error property css is missing in type (#38078)
This commit is contained in:
parent
785072086c
commit
5339275793
4
packages/grafana-ui/src/types/emotion-core-stub.d.ts
vendored
Normal file
4
packages/grafana-ui/src/types/emotion-core-stub.d.ts
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
// This stub is required due to Storybook 6.x reliance on @emotion/core
|
||||
// which causes conflicts with emotion 11 types resulting in bundled
|
||||
// components throwing ts error `Property 'css' is missing in type...`
|
||||
export {};
|
@ -1,4 +1,11 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"paths": {
|
||||
"@emotion/core": ["../../src/types/emotion-core-stub.d.ts"],
|
||||
"@grafana/slate-react": ["slate-react"],
|
||||
"@grafana/ui": ["."]
|
||||
}
|
||||
},
|
||||
"exclude": ["**/*.story.tsx", "**/*.test.ts*", "**/*.tmpl.ts", "dist", "node_modules", "src/utils/storybook"],
|
||||
"extends": "./tsconfig.json"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user