mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
bump typescript (#15847)
This commit is contained in:
parent
c1eb9cec49
commit
9c854ff1f1
@ -43,4 +43,7 @@ stories: ['../src/@(components|common|filters)/**/*.stories.@(t|j)sx'],
|
|||||||
},
|
},
|
||||||
plugins: [...config.plugins, ...customConfig.plugins],
|
plugins: [...config.plugins, ...customConfig.plugins],
|
||||||
}),
|
}),
|
||||||
|
typescript: {
|
||||||
|
reactDocgen: 'none',
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
55381
superset-frontend/package-lock.json
generated
55381
superset-frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -302,7 +302,7 @@
|
|||||||
"transform-loader": "^0.2.3",
|
"transform-loader": "^0.2.3",
|
||||||
"ts-jest": "^26.4.2",
|
"ts-jest": "^26.4.2",
|
||||||
"ts-loader": "^8.0.7",
|
"ts-loader": "^8.0.7",
|
||||||
"typescript": "^4.0.3",
|
"typescript": "^4.1.6",
|
||||||
"url-loader": "^1.0.1",
|
"url-loader": "^1.0.1",
|
||||||
"webpack": "^4.42.0",
|
"webpack": "^4.42.0",
|
||||||
"webpack-bundle-analyzer": "^3.6.1",
|
"webpack-bundle-analyzer": "^3.6.1",
|
||||||
|
@ -40,7 +40,7 @@ export default function injectCustomCss(css: string) {
|
|||||||
document.querySelector(`.${className}`) || createStyleElement(className);
|
document.querySelector(`.${className}`) || createStyleElement(className);
|
||||||
|
|
||||||
if ('styleSheet' in style) {
|
if ('styleSheet' in style) {
|
||||||
(style as MysteryStyleElement).styleSheet.cssText = css;
|
((style as unknown) as MysteryStyleElement).styleSheet.cssText = css;
|
||||||
} else {
|
} else {
|
||||||
style.innerHTML = css;
|
style.innerHTML = css;
|
||||||
}
|
}
|
||||||
|
@ -243,7 +243,9 @@ function DatabaseList({ addDangerToast, addSuccessToast }: DatabaseListProps) {
|
|||||||
row: {
|
row: {
|
||||||
original: { allow_run_async: allowRunAsync },
|
original: { allow_run_async: allowRunAsync },
|
||||||
},
|
},
|
||||||
}: any) => <BooleanDisplay value={allowRunAsync} />,
|
}: {
|
||||||
|
row: { original: { allow_run_async: boolean } };
|
||||||
|
}) => <BooleanDisplay value={allowRunAsync} />,
|
||||||
size: 'sm',
|
size: 'sm',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user