diff --git a/src/ace.tsx b/src/ace.tsx index 113715f0..33da53dd 100644 --- a/src/ace.tsx +++ b/src/ace.tsx @@ -68,10 +68,7 @@ export interface IAceEditorProps { [index: string]: any; } -export default class ReactAce extends React.Component< - IAceEditorProps, - undefined -> { +export default class ReactAce extends React.Component { [index: string]: any; public static propTypes: PropTypes.ValidationMap = { diff --git a/src/types.ts b/src/types.ts index b8980b83..47b53532 100644 --- a/src/types.ts +++ b/src/types.ts @@ -10,7 +10,7 @@ export interface ICommandManager { } export interface IEditorProps { [index: string]: any; - $blockScrolling?: number; + $blockScrolling?: number | boolean; $blockSelectEnabled?: boolean; $enableBlockSelect?: boolean; $enableMultiselect?: boolean; @@ -43,9 +43,9 @@ export interface IMarker { startCol: number; endRow: number; endCol: number; - inFront: boolean; className: string; type: string; + inFront?: boolean; } export interface ICommandBindKey {