Commit 4f6244a7 by Vladislav Lagunov

Исправлена ошибка noImplicitAny

parent 7439d626
......@@ -19,6 +19,7 @@ export default function getAt<R=any>(at_: ObjectPath): <A>(a: A) => R {
let iter = a as any as R;
for (const k of at) {
if (!iter.hasOwnProperty(k)) return undefined as any as R; // Поле отсутствует
// @ts-ignore
iter = iter[k];
}
return iter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment