diff options
| author | Adam <adam@adambard.com> | 2016-01-08 14:35:53 +0800 | 
|---|---|---|
| committer | Adam <adam@adambard.com> | 2016-01-08 14:35:53 +0800 | 
| commit | ef28fa69775ba064dfed212e034b5caae7edb7b9 (patch) | |
| tree | d3a30be274822754414b438fe9b9c102edc09630 /typescript.html.markdown | |
| parent | 8ad537a9ba9889234a63c5a38caeab3e225856e4 (diff) | |
| parent | 04166190367a93236e7173901dff7ae9661736ba (diff) | |
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
Diffstat (limited to 'typescript.html.markdown')
| -rw-r--r-- | typescript.html.markdown | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/typescript.html.markdown b/typescript.html.markdown index 26f1fcd9..47e41405 100644 --- a/typescript.html.markdown +++ b/typescript.html.markdown @@ -159,6 +159,14 @@ var tuple = pairToTuple({ item1:"hello", item2:"world"});  // Including references to a definition file:  /// <reference path="jquery.d.ts" /> +// Template Strings (strings that use backticks) +// String Interpolation with Template Strings +var name = 'Tyrone'; +var greeting = `Hi ${name}, how are you?` +// Multiline Strings with Template Strings +var multiline = `This is an example +of a multiline string`; +  ```  ## Further Reading | 
