TypeScript A computed property name in a type literal must directly refer to a built-in symbol

0 votes

I'm looking forward an object which contains strings which have other string, i.e:

{ abc: 'xyz' }

What I did:

foo: { [string]: string };
Aug 3, 2022 in TypeSript by Elton
• 400 points

edited Mar 4 15 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP