Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | import React from 'react';
import { PROXY_KEY, OBSERVER_KEY, RAW_KEY, OBSERVER_COMPONENT_KEY } from './constant';
import Observer from './observer';
export interface IProxyData {
[PROXY_KEY]?: ProxyConstructor;
[OBSERVER_KEY]?: Map<string | number | symbol, Set<number>>;
[RAW_KEY]: {} | any[];
[s: string]: any;
[n: number]: any;
}
export interface IClass {
new(...args: any[]): {};
__proto__?: any;
}
export type IObserverComponet = React.Component & { [OBSERVER_COMPONENT_KEY]: Observer }
export type ObserverSFC = React.SFC<{children?: React.SFC<any>; render?: React.SFC<any> }>;
|