summaryrefslogtreecommitdiffhomepage
path: root/typescript.html.markdown
diff options
context:
space:
mode:
authorAndrew Backes <backes.andrew@gmail.com>2015-10-18 22:38:56 -0500
committerAndrew Backes <backes.andrew@gmail.com>2015-10-18 22:38:56 -0500
commit525b6106a57baa570734e29b43f861cd8cc5de3a (patch)
tree8e08604303ed3bb9f16df7877e79d67b9c9c1a71 /typescript.html.markdown
parentc3387b8a611b6fbb00ac8d54102b772d44d3eca2 (diff)
[typescript/en] Multiline Strings
Multiline Strings via Template Strings
Diffstat (limited to 'typescript.html.markdown')
-rw-r--r--typescript.html.markdown6
1 files changed, 5 insertions, 1 deletions
diff --git a/typescript.html.markdown b/typescript.html.markdown
index 101bb5dc..61b0fdb8 100644
--- a/typescript.html.markdown
+++ b/typescript.html.markdown
@@ -159,9 +159,13 @@ var tuple = pairToTuple({ item1:"hello", item2:"world"});
// Including references to a definition file:
/// <reference path="jquery.d.ts" />
-// Template Strings
+// Template Strings (strings that use backtics)
+// String Intepolation 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`;
```