DefinitelyTyped/ejs/ejs-tests.ts
2015-09-17 14:47:35 +01:00

5 lines
177 B
TypeScript

/// <reference path="ejs.d.ts"/>
import ejs = require("ejs");
var people = ['geddy', 'neil', 'alex'];
var html = ejs.render('<%= people.join(", "); %>', { people: people });