File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ function getTsxGrammar() {
9797
9898function getTsGrammar ( getVariables : ( tsGrammarVariables : MapLike < string > ) => MapLike < string > ) {
9999 const tsGrammarBeforeTransformation = readYaml ( file ( Language . TypeScript , Extension . YamlTmLanguage ) ) as TmGrammar ;
100- return updateGrammarVariables ( tsGrammarBeforeTransformation , getVariables ( tsGrammarBeforeTransformation . variables ) ) ;
100+ return updateGrammarVariables ( tsGrammarBeforeTransformation , getVariables ( tsGrammarBeforeTransformation . variables as MapLike < string > ) ) ;
101101}
102102
103103function replacePatternVariables ( pattern : string , variableReplacers : VariableReplacer [ ] ) {
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ declare interface TmGrammar {
3838 scopeName : string ;
3939 fileTypes : string [ ] ;
4040 uuid : string ;
41- variables : MapLike < string > ;
41+ variables ? : MapLike < string > ;
4242 patterns ?: AnyTmGrammarRule [ ] ;
4343 repository : MapLike < TmGrammarRepositaryRule > ;
4444}
You can’t perform that action at this time.
0 commit comments