Skip to content

Commit

Permalink
chore(emmet): remove type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed May 21, 2024
1 parent f5f0ef7 commit 12159a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/emmet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function create({

async function provideCompletionItemsInternal(document: vscode.TextDocument, position: vscode.Position, completionContext: vscode.CompletionContext) {

const emmetConfig: any = await context.env.getConfiguration?.<helper.VSCodeEmmetConfig>('emmet') ?? {};
const emmetConfig = await context.env.getConfiguration?.<helper.VSCodeEmmetConfig>('emmet') ?? {};
const excludedLanguages = emmetConfig['excludeLanguages'] ?? [];
if (excludedLanguages.includes(document.languageId)) {
return;
Expand Down

0 comments on commit 12159a7

Please sign in to comment.