TypeScript-TmLanguage/tests/cases/Issue216.ts

9 строки
222 B
TypeScript

class MyType
{
public myFunction = (): void =>
{
// From this point on the syntax highlighting will be confused as to where it is.
var myVar = 5;
console.log("Hello there!");
}
}