Use custom ClientRect interface

Closes #251
This commit is contained in:
József Farkas
2017-03-12 18:12:40 +01:00
parent a3f3dc673e
commit adb7abaa12
4 changed files with 13 additions and 0 deletions

8
shared/src/dom/client-rect.d.ts vendored Normal file
View File

@@ -0,0 +1,8 @@
export declare interface ClientRect {
bottom: number;
readonly height: number;
left: number;
right: number;
top: number;
readonly width: number;
}

1
shared/src/dom/index.ts Normal file
View File

@@ -0,0 +1 @@
export { ClientRect } from './client-rect';