setup-project[10:12:20] Using gulpfile C:\git\syntaxhighlighter<anonymous> (C:/git/syntaxhighlighter/build/setup-project.js:48:5)
at module.exports (C:\git\syntaxhighlighter_runTask (C:\git\
我正在跟踪Github ,并试图将SyntaxHighlighter添加到我的标记代码片段中。当试图在函数中使用示例代码时,会遇到下面提到的一个错误,该函数用于呈现这些帖子。Overload 1 of 2, '(props: SyntaxHighlighterProps | Readonly<SyntaxHighlighterProps>): SyntaxHighlighterType 'LegacyRef<HTMLElement> | undefined' is not assignable to ty