Skip to content

Commit

Permalink
support "js" lang (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
dphuang2 authored Oct 7, 2023
1 parent 4dd447d commit 9b6a274
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion generator/konfig-next-app/src/components/DemoCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ const langDisplayName = {
go: { name: 'Go' },
java: { name: 'Java' },
json: { name: 'JSON' },
javascript: { name: 'JavaScript' },
js: { name: 'JavaScript' },
} as Record<
Language | 'ruby' | 'csharp' | 'php' | 'shell' | 'java',
Language | 'ruby' | 'csharp' | 'php' | 'shell' | 'java' | 'js',
{ name: string }
>

Expand Down

0 comments on commit 9b6a274

Please sign in to comment.