mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-06 14:56:54 +02:00
[typescript/en] Template Strings
This commit is contained in:
@@ -159,6 +159,10 @@ var tuple = pairToTuple({ item1:"hello", item2:"world"});
|
||||
// Including references to a definition file:
|
||||
/// <reference path="jquery.d.ts" />
|
||||
|
||||
// Template Strings
|
||||
var name = 'Tyrone';
|
||||
var greeting = `Hi ${name}, how are you?`
|
||||
|
||||
```
|
||||
|
||||
## Further Reading
|
||||
|
Reference in New Issue
Block a user