https://github.com/geektime-geekbang/typescript-in-action
作者回复: T5是string类型,strictNullChecks关闭,就可以被赋值undefined,和NonNullable没关系,你的问题是什么?