We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
something like this
declare function assertNotNull<T>(value: T): Exclude<T, null|undefined>
and a new transformer option like transformNonNullAssertions to transform stuff like foo!.bar to assertNotNull(foo).bar
transformNonNullAssertions
foo!.bar
assertNotNull(foo).bar