Skip to content

Commit

Permalink
Allow method return types to end with a digit
Browse files Browse the repository at this point in the history
  • Loading branch information
gcnew committed Jun 30, 2016
1 parent a78f05a commit 6d2b601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TypeScript.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6d2b601

Please sign in to comment.