double vs single quotes typescript

0 votes
static $inject = [
        '$scope',
        'configService',
        'stateService',
        'utilityService'
    ];

Given above is my code snippet for which typescript keeps suggesting to use double quotes. Is this a new standard for TypeScript?

May 26, 2022 in Others by Logan
• 2,140 points
754 views

1 answer to this question.

0 votes

As a general rule of thumb, use double quotes if you are using a string and prefer single quotes unless escaping.

Refer the documentation for more information.

answered May 27, 2022 by Nina
• 3,060 points

Related Questions In Others

0 votes
4 answers

Python vs C++

Well C is very old programming language ...READ MORE

answered Apr 3, 2019 in Others by MrBoot
• 1,230 points
2,505 views
0 votes
1 answer

GET vs POST in SEO

the one way is to format your ...READ MORE

answered Feb 14, 2022 in Others by narikkadan
• 63,600 points
571 views
0 votes
0 answers

Pre-rendering VS Server-side rendering for Angular SEO

i want to integrate an seo optimization ...READ MORE

Feb 14, 2022 in Others by Kichu
• 19,040 points
686 views
0 votes
1 answer

How to open .xlsx files in MS Excel from VS Code?

Hello, to open xlxs files, or files ...READ MORE

answered Feb 17, 2022 in Others by gaurav
• 23,260 points
4,227 views
0 votes
0 answers

Static Pages vs. Dynamic Pages, Which is Better for SEO

which ones better for seo static or ...READ MORE

Feb 18, 2022 in Others by Kichu
• 19,040 points
345 views
0 votes
1 answer

SEO META TAG og:description vs description

your at a wrong assumption actually this ...READ MORE

answered Feb 20, 2022 in Others by narikkadan
• 63,600 points
766 views
0 votes
1 answer

Is the single page app in asp.net MVC 4 examples, "Big Shelf", SEO friendly?

the pages that render on the basics ...READ MORE

answered Feb 20, 2022 in Others by narikkadan
• 63,600 points
449 views
0 votes
1 answer

Pre-rendering VS Server-side rendering for Angular SEO

https://developers.google.com/web/updates/2019/02/rendering-on-the-web use this article it explains all about ...READ MORE

answered Feb 22, 2022 in Others by narikkadan
• 63,600 points
501 views
0 votes
1 answer

Pre-rendering VS Server-side rendering for Angular SEO which ones better

This article is perfect to explain the ...READ MORE

answered Feb 25, 2022 in Others by narikkadan
• 63,600 points
933 views
0 votes
1 answer
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