diff --git a/TypeScript.YAML-tmLanguage b/TypeScript.YAML-tmLanguage index 9638a98d..8053ed6c 100644 --- a/TypeScript.YAML-tmLanguage +++ b/TypeScript.YAML-tmLanguage @@ -307,7 +307,7 @@ repository: type-annotation: name: meta.type.annotation.ts begin: ":" - end: (?=$|[,);\}\]]|//)|(?==[^>])|(?<=[\}>\]\)]|[a-zA-Z_$])\s*(?=\{) + end: (?=$|[,);\}\]]|//)|(?==[^>])|(?<=[\}>\]\)]|[a-zA-Z0-9_$])\s*(?=\{) patterns: - include: '#expression-operator' - include: '#type'