Browse Source

refactor: options定义

es6
iapyang 5 years ago
parent
commit
3bac58db01
  1. 2
      typescript/core/ob.ts

2
typescript/core/ob.ts

@ -1,7 +1,7 @@
export interface _OB { export interface _OB {
props: Props | (<T>(config: T) => Props & T); props: Props | (<T>(config: T) => Props & T);
options: Props; options: this["props"];
events?: { events?: {
[eventName: string]: Function[]; [eventName: string]: Function[];

Loading…
Cancel
Save