Skip to content

Commit

Permalink
Adds flow definitions files
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorWilbert committed Feb 25, 2019
1 parent 5915239 commit cb69c33
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions flow-typed/lite.js
@@ -0,0 +1,27 @@
//VARIABLES
declare var props: {
latitude: number,
longitude: number,
zoom: number,
pitch: number,
bearing: number
};

declare const CANVAS_STYLE: {
position: string,
left: number,
top: number,
width: string,
height: string
};

//FUNCTIONS
declare function getViewState(props): props;

declare function createCanvas(props): {container, mapCanvas, deckCanvas};

//CLASSES
declare class DECKGL {
constructor(props): DECKGL;

}

0 comments on commit cb69c33

Please sign in to comment.