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

ionic2 cordova build android - Unable resolve gradle 2.2.3

Using Custom DLL with IronPython / Scripts