DEV Community

[Comment from a deleted post]
Collapse
 
sabbin profile image
Sabin Pandelovitch

One of the things I like about JavaScript is that anything can be anythin... It's a blessing, it's a curse, but please do not treat strict typing as JavaScript const bands: {name: string, genre: string}[] = ... this may be typescript or what not but not Javascript, vanilla anyway. Kudos

Collapse
 
daviddalbusco profile image
David Dal Busco

Yes TypeScript.
I have now removed the type definition from the post.