mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Use ts-expect-error instead of ts-ignore.
This commit is contained in:
parent
23b4a790f5
commit
389705710c
@ -8,7 +8,7 @@ import {
|
||||
SyntaxHighlighterRendererProps,
|
||||
} from '@storybook/components';
|
||||
|
||||
// @ts-ignore
|
||||
// @ts-expect-error Typedefs don't currently expose `createElement` even though it exists
|
||||
import { createElement as createSyntaxHighlighterElement } from 'react-syntax-highlighter';
|
||||
|
||||
import { SourceBlock, LocationsMap } from '@storybook/source-loader';
|
||||
|
Loading…
x
Reference in New Issue
Block a user