mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
fixing linting errors surfaced by Travis
This commit is contained in:
1
types/react-relay/compat.d.ts
vendored
1
types/react-relay/compat.d.ts
vendored
@@ -33,7 +33,6 @@ export type ReactFragmentComponent<T> = ComponentWithFragment<T> | StatelessWith
|
||||
export type ReactBaseComponent<T> = React.ComponentClass<T> | React.StatelessComponent<T>;
|
||||
export type RelayClassicEnvironment = RelayEnvironmentInterface;
|
||||
|
||||
|
||||
// ~~~~~~~~~~~~~~~~~~~~~
|
||||
// RelayCompatTypes
|
||||
// ~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -368,7 +368,7 @@ interface CompatProps {
|
||||
relay: RelayPaginationPropCompat;
|
||||
}
|
||||
|
||||
export class CompatComponent extends React.Component<CompatProps, {}> {
|
||||
export class CompatComponent extends React.Component<CompatProps> {
|
||||
markNotificationAsRead(source: string, storyID: string) {
|
||||
markNotificationAsReadCompat(this.props.relay.environment, source, storyID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user