Skip to content

Commit 34bbde6

Browse files
committed
Replace @ts-ignores with @ts-expect-error
1 parent 665798b commit 34bbde6

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

site/src/Code/SyntaxHighlighter.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// @ts-ignore
1+
// @ts-expect-error
22
import { PrismLight as SyntaxHighlighter } from 'react-syntax-highlighter/dist/esm/index';
3-
// @ts-ignore
3+
// @ts-expect-error
44
import tsx from 'react-syntax-highlighter/dist/esm/languages/prism/tsx';
5-
// @ts-ignore
5+
// @ts-expect-error
66
import ts from 'react-syntax-highlighter/dist/esm/languages/prism/typescript';
77
SyntaxHighlighter.registerLanguage('tsx', tsx);
88
SyntaxHighlighter.registerLanguage('ts', ts);

site/src/Typography/typography.css.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ const makeTypographyRules = (textDefinition: typeof vars.text.standard) => {
3131
}),
3232
),
3333
trimmed: createTextStyle(textDefinition.mobile, {
34-
// @ts-ignore TS 4.5
3534
'@media': {
3635
[queries.tablet]: textDefinition.tablet,
3736
[queries.desktop]: textDefinition.desktop,

0 commit comments

Comments
 (0)