Changhui Xu
1 min readNov 27, 2018

--

No. constructor(private readonly canvas: **) has already declared a private member canvas. It is a shorthand in TypeScript. :)

Thank you for your response. Let me know if I have explained.

--

--

Changhui Xu
Changhui Xu

Written by Changhui Xu

Lead Application Developer. MBA. I write blogs about .NET, Angular, JavaScript/TypeScript, Docker, AWS, DDD, and many others.

Responses (1)