Skip to content

Commit ca4f414

Browse files
irfansofyanaNeverMendel
authored andcommitted
feat: add more valid languages
1 parent f852600 commit ca4f414

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

leetcode_export/utils.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
"ruby",
2424
"bash",
2525
"swift",
26+
"typescript",
27+
"elixir",
28+
"erlang",
29+
"racket",
30+
"dart",
2631
]
2732

2833
FILE_EXTENSIONS = {
@@ -47,6 +52,11 @@
4752
"ruby": "rb",
4853
"bash": "sh",
4954
"swift": "swift",
55+
"typescript": "ts",
56+
"elixir": "ex",
57+
"erlang": "erl",
58+
"racket": "rkt",
59+
"dart": "dart",
5060
}
5161

5262
SPECIAL_CHARACTERS_FILENAME = ["/", "\\", ":", "*", "?", '"', '"', "<", ">", "|"]

0 commit comments

Comments
 (0)