Skip to content

Commit

Permalink
Clarify doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Feb 16, 2024
1 parent 4dcee95 commit ee3752b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const keywords = "break case const continue default delete export extends false
const typescriptKeywords = keywords.concat(["declare", "implements", "private", "protected", "public"].map(kwCompletion))

/// JavaScript support. Includes [snippet](#lang-javascript.snippets)
/// completion.
/// and local variable completion.
export function javascript(config: {jsx?: boolean, typescript?: boolean} = {}) {
let lang = config.jsx ? (config.typescript ? tsxLanguage : jsxLanguage)
: config.typescript ? typescriptLanguage : javascriptLanguage
Expand Down

0 comments on commit ee3752b

Please sign in to comment.