Skip to content

Instantly share code, notes, and snippets.

View netspencer's full-sized avatar
🎯
Focusing

Spencer Schoeben netspencer

🎯
Focusing
View GitHub Profile
@netspencer
netspencer / realmjs-flowtype-interface.js
Created November 28, 2016 21:41 — forked from PyYoshi/realmjs-flowtype-interface.js
flowtype interface for realm-js
declare class RealmResults {
length:number;
filtered(query:string, arg:?any):RealmResults;
snapshot():RealmResults;
sorted(descriptor:any, reverse:?boolean):RealmResults;
}
declare class RealmList {
length:number;
filtered(query:string, arg:?any):RealmResults;