chore: mark method as not optional

This commit is contained in:
Kyle Fang
2019-04-10 11:32:41 +08:00
parent d133868dc4
commit ec763fb7bd

16
index.d.ts vendored
View File

@@ -26,14 +26,14 @@ export interface CardStackProps {
export default class CardStack extends React.Component<CardStackProps> {
constructor(props: CardStackProps);
swipeLeft?(): void;
swipeRight?(): void;
swipeBottom?(): void;
swipeTop?(): void;
goBackFromLeft?(): void;
goBackFromRight?(): void;
goBackFromBottom?(): void;
goBackFromTop?(): void;
swipeLeft(): void;
swipeRight(): void;
swipeBottom(): void;
swipeTop(): void;
goBackFromLeft(): void;
goBackFromRight(): void;
goBackFromBottom(): void;
goBackFromTop(): void;
}
export interface CardProps {