types(SwipeCell): add open、close method type

This commit is contained in:
陈嘉涵
2019-12-22 17:36:47 +08:00
committed by neverland
parent 285bce677c
commit 9a9676d6af
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
import { VanComponent } from './component';
export class SwipeCell extends VanComponent {
open(position: 'left' | 'right'): void;
close(): void;
}