facebook-squared twitter-squared rss-squared YouTube icon gplus-squared

typescript Archive

Sunday

2

February 2020

2

COMMENTS

Sunday

25

March 2018

0

COMMENTS

Use Recursive Types in Typescript

Written by , Posted in Tutorials

Recursive types in Typescript

Interface is such a nice feature in Typescript for custom static type checking. Main reason is to make your code less error prone but I use it primarily for intellisense. Today we will be discussing recursive types. I need to modal the accordion in HTML using following object. { title: “Parent”, expanded: true, subItems: [ […]