Adding Ejs and static-eval

This commit is contained in:
benliddicott
2015-09-21 11:37:37 +01:00
parent d464f5a4e1
commit fcd91d68c8
3 changed files with 16 additions and 7 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
declare module "ejs" {
module Ejs {
namespace Ejs {
type Data = { [name: string]: any };
type Dependencies = string[];
var cache: Cache;
@@ -60,7 +60,7 @@ declare module "ejs" {
function shallowCopy<T1>(to: T1, fro: any): T1;
interface Cache {
_data: { [name: string]: any };
set(key: string, val: any);
set(key: string, val: any): any;
get(key: string): any;
}
var cache: Cache;