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

Using Custom DLL with IronPython / Scripts

Android Programmatically apply style to your view