Fix types in Emmet comments

This commit is contained in:
Sebastian De Deyne
2019-02-21 09:45:05 +01:00
committed by GitHub
parent 2c75fe1906
commit 0b0c2ceb95

View File

@@ -96,10 +96,10 @@ export function getMappingForIncludedLanguages(): any {
/**
* Get the corresponding emmet mode for given vscode language mode
* Eg: jsx for typescriptreact/javascriptreact or pug for jade
* If the language is not supported by emmet or has been exlcuded via `exlcudeLanguages` setting,
* If the language is not supported by emmet or has been excluded via `excludeLanguages` setting,
* then nothing is returned
*
* @param exlcudedLanguages Array of language ids that user has chosen to exlcude for emmet
* @param excludedLanguages Array of language ids that user has chosen to exclude for emmet
*/
export function getEmmetMode(language: string, excludedLanguages: string[]): string | undefined {
if (!language || excludedLanguages.indexOf(language) > -1) {