bump typescript (#15847)

This commit is contained in:
Elizabeth Thompson 2021-07-22 16:30:25 -07:00 committed by GitHub
parent c1eb9cec49
commit 9c854ff1f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 512 additions and 54882 deletions

View File

@ -22,7 +22,7 @@ const path = require('path');
const customConfig = require('../webpack.config.js');
module.exports = {
stories: ['../src/@(components|common|filters)/**/*.stories.@(t|j)sx'],
stories: ['../src/@(components|common|filters)/**/*.stories.@(t|j)sx'],
addons: [
'@storybook/addon-essentials',
'@storybook/addon-links',
@ -43,4 +43,7 @@ stories: ['../src/@(components|common|filters)/**/*.stories.@(t|j)sx'],
},
plugins: [...config.plugins, ...customConfig.plugins],
}),
typescript: {
reactDocgen: 'none',
},
};

File diff suppressed because it is too large Load Diff

View File

@ -302,7 +302,7 @@
"transform-loader": "^0.2.3",
"ts-jest": "^26.4.2",
"ts-loader": "^8.0.7",
"typescript": "^4.0.3",
"typescript": "^4.1.6",
"url-loader": "^1.0.1",
"webpack": "^4.42.0",
"webpack-bundle-analyzer": "^3.6.1",

View File

@ -40,7 +40,7 @@ export default function injectCustomCss(css: string) {
document.querySelector(`.${className}`) || createStyleElement(className);
if ('styleSheet' in style) {
(style as MysteryStyleElement).styleSheet.cssText = css;
((style as unknown) as MysteryStyleElement).styleSheet.cssText = css;
} else {
style.innerHTML = css;
}

View File

@ -243,7 +243,9 @@ function DatabaseList({ addDangerToast, addSuccessToast }: DatabaseListProps) {
row: {
original: { allow_run_async: allowRunAsync },
},
}: any) => <BooleanDisplay value={allowRunAsync} />,
}: {
row: { original: { allow_run_async: boolean } };
}) => <BooleanDisplay value={allowRunAsync} />,
size: 'sm',
},
{