mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Fix type
This commit is contained in:
parent
9011d3871c
commit
7bb1d345f4
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import CodeMirror from 'codemirror';
|
import CodeMirror, { EditorChange } from 'codemirror';
|
||||||
import { Base16Theme } from 'base16';
|
import { Base16Theme } from 'base16';
|
||||||
import { defaultStyle, themedStyle } from './styles';
|
import { defaultStyle, themedStyle } from './styles';
|
||||||
import { Theme } from '../themes/default';
|
import { Theme } from '../themes/default';
|
||||||
|
@ -23,7 +23,7 @@ export interface EditorProps {
|
||||||
theme?: Base16Theme;
|
theme?: Base16Theme;
|
||||||
foldGutter: boolean;
|
foldGutter: boolean;
|
||||||
autofocus: boolean;
|
autofocus: boolean;
|
||||||
onChange?: (value: string, change: CodeMirror.EditorChangeLinkedList) => void;
|
onChange?: (value: string, change: EditorChange) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user