JohnWeisz / TypedJSON

Typed JSON parsing and serializing for TypeScript that preserves type information.
MIT License
603 stars 64 forks source link

Add explicit `return undefined` #200

Open isaacy2012 opened 2 years ago

isaacy2012 commented 2 years ago

Adding explicit return undefined in the cases where undefined is returned implicitly improves clarity, and removes compiler error when "noImplicitReturns" is true.

Compiler options have also been made stricter for tsconfig.app-strict.