diff --git a/index.d.ts b/index.d.ts index 4ead396..70e9bb4 100644 --- a/index.d.ts +++ b/index.d.ts @@ -206,7 +206,7 @@ interface TemplatePackage { * @param code template code * @param contextData template context map */ - template( + execute( code: string, contextData?: { [key: string]: any