-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix some small issues and upgrade packages
- Loading branch information
Showing
7 changed files
with
20 additions
and
10 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
const languages = ["python", "typescript", "javascript"] as const; | ||
|
||
const defaultCodes = { | ||
python: '# This is default python code\n\nprint("Hello world")', | ||
typescript: '// This is default typescript code\n\nlet message: string = "Hello, world!";\nconsole.log(message);', | ||
javascript: '// This is default javascript code\n\nlet message = "Hello, world!";\nconsole.log(message);' | ||
python: '# Default python code\n\nprint("Hello, python")', | ||
typescript: '// Default typescript code\n\nlet message: string = "Hello, typescript!";\nconsole.log(message);', | ||
javascript: '// Default javascript code\n\nlet message = "Hello, javascript!";\nconsole.log(message);' | ||
} as const; | ||
|
||
export { languages, defaultCodes }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters