serialized-query
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -20,2 +20,3 @@ import { ISnapShot } from 'typed-conversions'; | ||
constructor(path: string | LazyPath); | ||
readonly path: string | LazyPath; | ||
limitToFirst(num: number): this; | ||
@@ -22,0 +23,0 @@ limitToLast(num: number): this; |
@@ -21,5 +21,7 @@ "use strict"; | ||
static path(path) { | ||
const q = new SerializedQuery(path); | ||
return q; | ||
return new SerializedQuery(path); | ||
} | ||
get path() { | ||
return this._path; | ||
} | ||
limitToFirst(num) { | ||
@@ -26,0 +28,0 @@ this._limitToFirst = num; |
{ | ||
"name": "serialized-query", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "A simple Typescript class to serialize Firebase queries", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
11598
154