Releases: microsoft/TypeScript-TmLanguage
v0.0.43
-
Add lib reference syntax
-
Fix the tag with type argument detection when type arguments span over multiple lines
Fixes #632 -
Fix incorrect multi line variable declaration capture for ","
Fixes #635 -
Add keyword.control for 'package'
Fixes #634 -
Handle jsx expression after yield
Fixes #636 -
Support < followed by new line as possibly arrow start
Fixes #637 -
Handle new line after var/let/const
Fixes #638 -
Handle accent character in the jsx attribute name
Fixes #640 -
RegExp like pattern followed by } is not regexp
Fixes #639
Grammar diff: dd9d599...32208c2
v0.0.42
-
Support labels
Fixes #610 -
Fix method declaration detection when method name is string literal
Fixes #612 -
Fix multiline conditional types
Fixes #613 -
Simplify multiline arrow detection
-
Fix parameter name detection such that it doesnt consume unnecessary leading space resulting it in taking precedence over other rules
Fixes #616 -
Fix object literal detection after cast expression
Fixes microsoft/TypeScript#24410 -
Fix incorrect end lookback for labeled blocks
Fixes #625 -
Add scope for label name if identifier follows break/continue/goto
-
Fix the arrow detection when first parameter is rest parameter
Fixes #626 -
Uniformly handle the leading white spaces for array literal, binding patterns, method/field declarations
Fixes #624 -
Fix the incorrect regexp detection
Fixes #623 -
Handle the parameter name scoping in function type
Fixes #629 -
Fix incorrect detection of keyword vs function call
Fixes #628
Grammar diff: a9055b1...7bf8960
v0.0.41
-
Support numeric literal in field/getter/setter/method declarations
Fixes #604 -
Fix the optional new property
Fixes #605 -
Fix the type argument detection in tag without attributes
Fixes #606 -
Handle multiline import statement
Fixes #607 -
Handle the scenario of => ( followed by new line where we treat that as possibly arrow
This adds string literal matching in the binding pattern for parameter declarations as object literals will be treated as destructured parameters
Fixes #608 -
Add support scope to new.target and import.meta
Fixes #609 -
Support named type arguments added in microsoft/TypeScript#23696
Grammar diff: fefa941...bccefcd
v0.0.40
-
Handle declaration block with ternary operator and switch case statement better
Fixes #595 -
Multiline arrow in object literal members
Fixes #597 -
Fix keyof/infer keywords as type arguments
Fixes #598 -
Fix the type parameters of arrow detection
Fixes #601 -
Fix instanceof used in ternary expresison.
Fixes #602 -
Handle the generic tagged template
Fixes #603 -
Support arrows with multiline destructuring parameters
Handles #481 (comment)
Grammar diff: 5c237f7...fefa941
v0.0.39: Add return as a look ahead to end the statement
-
Support for modifier operator on mapped type signature
-
Handle the dotted type arguments
Fixes #590 -
Fix the type tokenization of instace of
Fixes #591 -
Add return as a look ahead to end the statement
Fixes #592
Grammar diff: 078c5ff...5c237f7
v0.0.38
-
Make conditional type colorization little bit better
-
Sync to atom/language-javascript@e85477e
Fixes #587 -
Handle multiline import declaration
Fixes #586 -
Handle comments in jsx
Fixes #585 -
Enhance type arguments detection to remove some false cases
Fixes #584
Grammar diff: b83a38f...078c5ff
v0.0.37
-
Handle the "/" followed by "]" to ensure it not being treated as regex
Fixes #580 -
Update the build to use variables in react as well
-
Support the JSX Opening or self closing tag's type arguments
This handles support for microsoft/TypeScript#22415 -
Some restructuring in react grammar
-
Handle jsx attribute scope correctly to not include type arguments
-
Scope optional methods correctly
Fixes #581 -
Support import types getting added by microsoft/TypeScript#22592
Grammar diff: bf14f62...b83a38f
v0.0.36: Update the ternary expression : operator to consume leading white spaces
-
Restrict multiline arrow detection to only few tokens
-
Update the ternary expression : operator to consume leading white spaces
Fixes #579
Grammar diff: a7fa5b5...bf14f62
v0.0.35
-
Colorize right side of instance of as type
Fixes #578 -
Add type parameters to multi line arrow detection
Grammar diff: a184e39...a7fa5b5
v0.0.34: - Fix the async arrow function that spans multiline
- Fix the async arrow function that spans multiline
Fixes #558
Grammar diff: 9e61a2f...a184e39