Open ywww opened 5 months ago
<CodeMirror style={{fontSize: fontSize, fontFamily: fontFamily}} value={value} width={'100%'} theme={themes[theme]} basicSetup={{tabSize: 2}} indentWithTab={true} readOnly={disabled} height={height || 200 + 'px'} extensions={[loadLanguage("yaml"),EditorView.lineWrapping]} onChange={this.props.onChange} />
TS2322: Type 'LanguageSupport | StreamLanguage | null' is not assignable to type 'Extension'.
@ywww If you can provide an example that reproduces the error, I can help you take a look.
TS2322: Type 'LanguageSupport | StreamLanguage | null' is not assignable to type 'Extension'.