diia-open-source / be-pkg-utils

European Union Public License 1.2
14 stars 10 forks source link

added missing optional chaining in pdf utils #2

Closed Pyroarsonist closed 4 months ago

Pyroarsonist commented 4 months ago

Optional chaining should be used on all "chains" or should be avoided at all.

For example, if you using eng?.firstName.name, than eng?.firstName could be evaluated to undefined and (undefined)?.name would throw TypeError.

Kato0909 commented 4 months ago

тримай

ghost commented 4 months ago

Thank You for your passion!