-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support newer TypeScript syntax (#410)
- Loading branch information
Showing
8 changed files
with
434 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
var firstWord = 'Hello '; | ||
var secondWord = 'world'; | ||
var message = firstWord + secondWord; | ||
|
||
class Foo { | ||
@decorated | ||
*bar() { } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
var droWtsrif = 'Hello '; | ||
var droWdnoces = 'world'; | ||
var egassem = droWtsrif + droWdnoces; | ||
|
||
class ooF { | ||
@detaroced | ||
*rab() { } | ||
} |
2 changes: 2 additions & 0 deletions
2
sample/__testfixtures__/typescript/reverse-identifiers.input.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
sample/__testfixtures__/typescript/reverse-identifiers.output.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import type { maertS } from 'stream'; | ||
|
||
const droWtsrif = 'Hello '; | ||
const droWdnoces = 'world'; | ||
const egassem = droWtsrif + droWdnoces; | ||
|
||
const egasseMteg = (): string => egassem | ||
const egasseMteg = (): string => egassem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters