Typescript allow initializer to create and instantiate an instance



The keyword partial transform fields into optional.




So we're able to initialize our object instance this way.




Pretty cool eh..



Comments

Popular posts from this blog

OpenCover code coverage for .Net Core

Android Programmatically apply style to your view

Using Custom DLL with IronPython / Scripts