Skip to content

Commit a830da2

Browse files
author
Scott Prue
committed
fix(typings): mark notSetValue as optional in index.d.ts
1 parent e478b04 commit a830da2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

index.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export function isEmpty(...args: any[]): boolean;
167167

168168
export function isLoaded(...args: any[]): boolean;
169169

170-
export function populate(state: object, path: string, populates: any, notSetValue: any): any;
170+
export function populate(state: object, path: string, populates: any, notSetValue?: any): any;
171171

172172
export function reactReduxFirebase(instance: object, otherConfig: any): any;
173173

@@ -277,13 +277,13 @@ export namespace getVal {
277277
export namespace helpers {
278278
function fixPath(path: any): any;
279279

280-
function getVal(firebase: any, path: any, notSetValue: any): any;
280+
function getVal(firebase: any, path: any, notSetValue?: any): any;
281281

282282
function isEmpty(...args: any[]): any;
283283

284284
function isLoaded(...args: any[]): any;
285285

286-
function populate(state: any, path: any, populates: any, notSetValue: any): any;
286+
function populate(state: any, path: any, populates: any, notSetValue?: any): any;
287287

288288
namespace fixPath {
289289
const prototype: {

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-redux-firebase",
3-
"version": "2.1.7",
3+
"version": "2.1.8",
44
"description": "Redux integration for Firebase. Comes with a Higher Order Components for use with React.",
55
"main": "lib/index.js",
66
"module": "es/index.js",

0 commit comments

Comments
 (0)