DefinitelyTyped/types/ejs/ejs-tests.ts
2017-03-24 14:27:52 -07:00

4 lines
144 B
TypeScript

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