#class-validator and strictPropertyInitialization?

2 messages · Page 1 of 1 (latest)

plush wren
#

Put an exclamation mark after the property name. This is expected

#

It's a side effect of enabling "strict" mode in TypeScript, which you should enable as soon as possible, if you don't want to deal with "cannot read property x of undefindd" two years in development