resize-observer icon indicating copy to clipboard operation
resize-observer copied to clipboard

Export required classes/interfaces for Typescript implementations

Open tvkit opened this issue 6 years ago • 0 comments

Currently necessary to define the following interfaces locally since they're not exported.

interface ContentRect {
  readonly height: number;
  readonly left: number;
  readonly top: number;
  readonly width: number;
}

interface ResizeObserverEntry {
  readonly target: Element;
  readonly contentRect: ContentRect;
};

tvkit avatar Mar 01 '19 20:03 tvkit