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

Commit 46671b2

Browse files
committed
Fixed issue with strictNullCheck
1 parent ec1bc3b commit 46671b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-pipes",
3-
"version": "6.3.0",
3+
"version": "6.4.0",
44
"description": "Angular pipes library",
55
"main": "src/index.js",
66
"jsnext:main": "esm/index.js",

src/utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export function getProperty (value: { [key: string]: any}, key: string): any {
179179
}
180180

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

184184
for (const key of keys) {
185185
if (isNil(result) || !isObject(result)) {

0 commit comments

Comments
 (0)