mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03:00
[typescript/en] Template Strings
This commit is contained in:
parent
ba5f3ebc11
commit
c3387b8a61
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user