Skip to content

Commit

Permalink
fix: correct type define (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjshy authored and securingsincity committed May 28, 2019
1 parent 80509bb commit cbd3024
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/ace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<IAceEditorProps> {
[index: string]: any;

public static propTypes: PropTypes.ValidationMap<IAceEditorProps> = {
Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface ICommandManager {
}
export interface IEditorProps {
[index: string]: any;
$blockScrolling?: number;
$blockScrolling?: number | boolean;
$blockSelectEnabled?: boolean;
$enableBlockSelect?: boolean;
$enableMultiselect?: boolean;
Expand Down Expand Up @@ -43,9 +43,9 @@ export interface IMarker {
startCol: number;
endRow: number;
endCol: number;
inFront: boolean;
className: string;
type: string;
inFront?: boolean;
}

export interface ICommandBindKey {
Expand Down

0 comments on commit cbd3024

Please sign in to comment.