diff options
author | Mark Green <mark@antelope.nildram.co.uk> | 2016-01-22 00:54:49 +0000 |
---|---|---|
committer | Mark Green <mark@antelope.nildram.co.uk> | 2016-01-22 00:54:49 +0000 |
commit | 57053bc95d4166a42da8f6d1732dd21a217b073a (patch) | |
tree | 293a7775d4b46313a2ee955691141095653d4044 /typescript.html.markdown | |
parent | def04721be506f1c7ff5ddf407f2333999570a89 (diff) | |
parent | 9a5bb286686f5dd4fb743c1bd15ad70a3c6a4a3f (diff) |
Merge remote-tracking branch 'refs/remotes/adambard/master'
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 |