Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Commit

Permalink
Fixed issue with strictNullCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
fknop committed Feb 27, 2017
1 parent ec1bc3b commit 46671b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-pipes",
"version": "6.3.0",
"version": "6.4.0",
"description": "Angular pipes library",
"main": "src/index.js",
"jsnext:main": "esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export function getProperty (value: { [key: string]: any}, key: string): any {
}

const keys: string[] = key.split('.');
let result: any = value[keys.shift()];
let result: any = value[keys.shift()!];

for (const key of keys) {
if (isNil(result) || !isObject(result)) {
Expand Down

0 comments on commit 46671b2

Please sign in to comment.