-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
21 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
static const x: number = 3 as const | ||
static const x: number = 3 as const; | ||
static function xPlus(val: number) { | ||
return x + val; | ||
} | ||
static let xMap = new Map<string, number>() | ||
$ const y: number = 3 as const | ||
static let xMap = new Map<string, number>(); | ||
$ const y: number = 3 as const; | ||
$ function yPlus(val: number) { | ||
return x + val; | ||
} | ||
$ let yMap = new Map<string, number>() | ||
$ let yMap = new Map<string, number>(); |
8 changes: 4 additions & 4 deletions
8
src/__tests__/__snapshots__/scriptlet-ts.expected/concise.marko
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,10 +1,10 @@ | ||
static const x: number = 3 as const | ||
static const x: number = 3 as const; | ||
static function xPlus(val: number) { | ||
return x + val; | ||
} | ||
static let xMap = new Map<string, number>() | ||
$ const y: number = 3 as const | ||
static let xMap = new Map<string, number>(); | ||
$ const y: number = 3 as const; | ||
$ function yPlus(val: number) { | ||
return x + val; | ||
} | ||
$ let yMap = new Map<string, number>() | ||
$ let yMap = new Map<string, number>(); |
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,10 +1,10 @@ | ||
static const x: number = 3 as const | ||
static const x: number = 3 as const; | ||
static function xPlus(val: number) { | ||
return x + val; | ||
} | ||
static let xMap = new Map<string, number>() | ||
$ const y: number = 3 as const | ||
static let xMap = new Map<string, number>(); | ||
$ const y: number = 3 as const; | ||
$ function yPlus(val: number) { | ||
return x + val; | ||
} | ||
$ let yMap = new Map<string, number>() | ||
$ let yMap = new Map<string, number>(); |
8 changes: 4 additions & 4 deletions
8
src/__tests__/__snapshots__/scriptlet-ts.expected/with-parens.marko
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,10 +1,10 @@ | ||
static const x: number = 3 as const | ||
static const x: number = 3 as const; | ||
static function xPlus(val: number) { | ||
return x + val; | ||
} | ||
static let xMap = new Map<string, number>() | ||
$ const y: number = 3 as const | ||
static let xMap = new Map<string, number>(); | ||
$ const y: number = 3 as const; | ||
$ function yPlus(val: number) { | ||
return x + val; | ||
} | ||
$ let yMap = new Map<string, number>() | ||
$ let yMap = new Map<string, number>(); |
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,7 +1,7 @@ | ||
static const x: number = 3 as const | ||
static const x: number = 3 as const | ||
static function xPlus(val: number) { return x + val } | ||
static let xMap = new Map<string, number>() | ||
static let xMap = new Map< string , number >() | ||
|
||
$ const y: number = 3 as const | ||
$ const y : number = 3 as const | ||
$ function yPlus(val: number) { return x + val } | ||
$ let yMap = new Map<string, number>() | ||
$ let yMap=new Map<string,number>( ) |
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