Skip to content

Commit

Permalink
Merge pull request #170 from illbexyz/master
Browse files Browse the repository at this point in the history
Fixed implicit any types on methods. Incremented version number.
  • Loading branch information
securingsincity authored Feb 6, 2017
2 parents 32f9ac2 + adcc94c commit 035f9ef
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-ace",
"version": "4.1.2",
"version": "4.1.3",
"description": "A react component for Ace Editor",
"main": "lib/ace.js",
"types": "types.d.ts",
Expand Down
62 changes: 31 additions & 31 deletions types.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for react-ace 4.1.2
// Type definitions for react-ace 4.1.3
// Project: https://github.com/securingsincity/react-ace
// Definitions by: Alberto Nicoletti <https://github.com/illbexyz>

Expand Down Expand Up @@ -28,7 +28,7 @@ export interface CommandBindKey {
export interface Command {
name: string
bindKey: CommandBindKey
exec()
exec(): any
}

/**
Expand Down Expand Up @@ -100,26 +100,26 @@ export interface EditorProps {
$enableMultiselect?: boolean
$highlightPending?: boolean
$highlightTagPending?: boolean
$multiselectOnSessionChange?()
$onAddRange?()
$onChangeAnnotation?()
$onChangeBackMarker?()
$onChangeBreakpoint?()
$onChangeFold?()
$onChangeFrontMarker?()
$onChangeMode?()
$onChangeTabSize?()
$onChangeWrapLimit?()
$onChangeWrapMode?()
$onCursorChange?()
$onDocumentChange?()
$onMultiSelect?()
$onRemoveRange?()
$onScrollLeftChange?()
$onScrollTopChange?()
$onSelectionChange?()
$onSingleSelect?()
$onTokenizerUpdate?()
$multiselectOnSessionChange?(): any
$onAddRange?(): any
$onChangeAnnotation?(): any
$onChangeBackMarker?(): any
$onChangeBreakpoint?(): any
$onChangeFold?(): any
$onChangeFrontMarker?(): any
$onChangeMode?(): any
$onChangeTabSize?(): any
$onChangeWrapLimit?(): any
$onChangeWrapMode?(): any
$onCursorChange?(): any
$onDocumentChange?(): any
$onMultiSelect?(): any
$onRemoveRange?(): any
$onScrollLeftChange?(): any
$onScrollTopChange?(): any
$onSelectionChange?(): any
$onSingleSelect?(): any
$onTokenizerUpdate?(): any
}

export interface AceEditorProps {
Expand All @@ -146,14 +146,14 @@ export interface AceEditorProps {
tabSize?: number
value?: string
defaultValue?: string
onLoad?()
onBeforeLoad?()
onChange?(value: string)
onCopy?(value: string)
onPaste?(value: string)
onFocus?()
onBlur?()
onScroll?()
onLoad?(): any
onBeforeLoad?(): any
onChange?(value: string): any
onCopy?(value: string): any
onPaste?(value: string): any
onFocus?(): any
onBlur?(): any
onScroll?(): any
editorProps?: EditorProps
setOptions?: AceOptions
keyboardHandler?: string
Expand All @@ -162,4 +162,4 @@ export interface AceEditorProps {
markers?: Array<Marker>
}

export default class AceEditor extends Component<AceEditorProps, undefined> {}
export default class AceEditor extends Component<AceEditorProps, undefined> {}

0 comments on commit 035f9ef

Please sign in to comment.