diff options
author | Andrew Backes <backes.andrew@gmail.com> | 2015-10-18 22:32:14 -0500 |
---|---|---|
committer | Andrew Backes <backes.andrew@gmail.com> | 2015-10-18 22:32:14 -0500 |
commit | c3387b8a611b6fbb00ac8d54102b772d44d3eca2 (patch) | |
tree | 943f9c6ec8ef222f9e4c109db88c68744f3e8608 /typescript.html.markdown | |
parent | ba5f3ebc112b52797a9a21fdbba1846885feac2c (diff) |
[typescript/en] Template Strings
Diffstat (limited to 'typescript.html.markdown')
-rw-r--r-- | typescript.html.markdown | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/typescript.html.markdown b/typescript.html.markdown index e9135510..101bb5dc 100644 --- a/typescript.html.markdown +++ b/typescript.html.markdown @@ -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 |