fix(deps): update dependency @types/codemirror to v5 (#796)

* fix(deps): update dependency @types/codemirror to v5

* Fix type

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
This commit is contained in:
renovate[bot] 2021-08-27 21:56:30 +00:00 committed by GitHub
parent 4b166f25aa
commit c83ba6828e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -38,7 +38,7 @@
"dependencies": {
"@rjsf/core": "^2.5.1",
"@types/base16": "^1.0.2",
"@types/codemirror": "^0.0.109",
"@types/codemirror": "^5.60.2",
"@types/prop-types": "^15.7.4",
"@types/react-select": "^3.1.2",
"@types/redux-devtools-themes": "^1.0.0",

View File

@ -1,7 +1,7 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import CodeMirror from 'codemirror';
import CodeMirror, { EditorChange } from 'codemirror';
import { Base16Theme } from 'base16';
import { defaultStyle, themedStyle } from './styles';
import { Theme } from '../themes/default';
@ -23,7 +23,7 @@ export interface EditorProps {
theme?: Base16Theme;
foldGutter: boolean;
autofocus: boolean;
onChange?: (value: string, change: CodeMirror.EditorChangeLinkedList) => void;
onChange?: (value: string, change: EditorChange) => void;
}
/**

View File

@ -6585,12 +6585,12 @@ __metadata:
languageName: node
linkType: hard
"@types/codemirror@npm:^0.0.109":
version: 0.0.109
resolution: "@types/codemirror@npm:0.0.109"
"@types/codemirror@npm:^5.60.2":
version: 5.60.2
resolution: "@types/codemirror@npm:5.60.2"
dependencies:
"@types/tern": "*"
checksum: e76251c07a686346b902b3605e79849da03d654d312fe7d2c406822f9157dd77d0c69af6701da424dcdeb669efb27165661ac7d027f42a3c64a4d07838ec9eb0
checksum: 5e011afdc8385b35c3ffa18d8f06df3006d79071fc995afb56d53490905c290986fef99aad90ed58aede024c81843b33575a3930a15a160dd0c2e881fb387b46
languageName: node
linkType: hard
@ -12909,7 +12909,7 @@ __metadata:
"@storybook/addon-essentials": ^6.3.7
"@storybook/react": ^6.3.7
"@types/base16": ^1.0.2
"@types/codemirror": ^0.0.109
"@types/codemirror": ^5.60.2
"@types/enzyme": ^3.10.9
"@types/enzyme-adapter-react-16": ^1.0.6
"@types/prop-types": ^15.7.4