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

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type