Skip to content

mckaysalisbury/typescript-direct-set

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This seems to me to be undesirable behavior in typescript. It should know that the objects can't be null.

To reproduce:

tsc

The file repro.ts has some comments explaining the behavior.

It was tested to have this behavior on the following versions:

  • 3.7.2
  • 3.9.0-dev.20200305

About

A reproduction of a bug in typescript around direct setting an optional member.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published