Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 686 Bytes

File metadata and controls

13 lines (8 loc) · 686 Bytes

Home > tsbuffer > TSBufferOptions > strictNullChecks

TSBufferOptions.strictNullChecks property

tsconfig.json 中的 strictNullChecks 是否使用严格等于去判定 undefinednull 如果该值为 false,则在编码过程中,null 在类型不兼容时可编码为undefined, 解码过程中,undefined 在类型不兼容时可解码为 null

Signature:

strictNullChecks: boolean;