Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PrismFormated] Add TypeScript to the langs object #327

Closed
huyenltnguyen opened this issue Sep 20, 2024 · 0 comments · Fixed by #334
Closed

[PrismFormated] Add TypeScript to the langs object #327

huyenltnguyen opened this issue Sep 20, 2024 · 0 comments · Fixed by #334
Labels
help wanted Open for all. You do not need permission to work on these.

Comments

@huyenltnguyen
Copy link
Member

Description

We are now supporting TypeScript (freeCodeCamp/freeCodeCamp#56159), so the langs object should be updated accordingly.

Changes needed

Add

ts: "TypeScript",
typescript: "TypeScript",

to

const langs: { [key: string]: string } = {
js: "JavaScript",
javascript: "JavaScript",
css: "CSS",
html: "HTML",
python: "python",
py: "python",
xml: "XML",
jsx: "JSX",
scss: "SCSS",
sql: "SQL",
http: "HTTP",
json: "JSON",
pug: "pug",
};

@huyenltnguyen huyenltnguyen added the help wanted Open for all. You do not need permission to work on these. label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Open for all. You do not need permission to work on these.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant