-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #525 from aloker/feature/basic-typescript-issues
Improve typescript definitions
- Loading branch information
Showing
65 changed files
with
268 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import React = require("react"); | ||
import {Omit} from "../util"; | ||
|
||
interface ButtonProps extends React.HTMLProps<HTMLButtonElement> { | ||
interface ButtonProps extends Omit<React.HTMLProps<HTMLButtonElement>, 'ref'> { | ||
label?: string; | ||
icon?: string; | ||
iconPos?: string; | ||
cornerStyleClass?: string; | ||
[key: string]: any; | ||
} | ||
|
||
export class Button extends React.Component<ButtonProps,any> {} | ||
export class Button extends React.Component<ButtonProps,any> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import React = require("react"); | ||
|
||
// tslint:disable-next-line:no-empty-interface | ||
interface ColumnGroupProps { | ||
} | ||
|
||
export class ColumnGroup extends React.Component<ColumnGroupProps,any> {} | ||
export class ColumnGroup extends React.Component<ColumnGroupProps,any> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import React = require("react"); | ||
|
||
// tslint:disable-next-line:no-empty-interface | ||
interface BodyCellProps { | ||
} | ||
|
||
export class BodyCell extends React.Component<BodyCellProps,any> {} | ||
export class BodyCell extends React.Component<BodyCellProps,any> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import React = require("react"); | ||
|
||
// tslint:disable-next-line:no-empty-interface | ||
interface BodyRowProps { | ||
} | ||
|
||
export class BodyRow extends React.Component<BodyRowProps,any> {} | ||
export class BodyRow extends React.Component<BodyRowProps,any> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import React = require("react"); | ||
|
||
// tslint:disable-next-line:no-empty-interface | ||
interface FooterCellProps { | ||
} | ||
|
||
export class FooterCell extends React.Component<FooterCellProps,any> {} | ||
export class FooterCell extends React.Component<FooterCellProps,any> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import React = require("react"); | ||
|
||
// tslint:disable-next-line:no-empty-interface | ||
interface HeaderCellProps { | ||
} | ||
|
||
export class HeaderCell extends React.Component<HeaderCellProps,any> {} | ||
export class HeaderCell extends React.Component<HeaderCellProps,any> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import React = require("react"); | ||
|
||
// tslint:disable-next-line:no-empty-interface | ||
interface TableBodyProps { | ||
} | ||
|
||
export class TableBody extends React.Component<TableBodyProps,any> {} | ||
export class TableBody extends React.Component<TableBodyProps,any> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import React = require("react"); | ||
|
||
// tslint:disable-next-line:no-empty-interface | ||
interface TableFooterProps { | ||
} | ||
|
||
export class TableFooter extends React.Component<TableFooterProps,any> {} | ||
export class TableFooter extends React.Component<TableFooterProps,any> {} |
Oops, something went wrong.