mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
25 lines
470 B
TypeScript
25 lines
470 B
TypeScript
|
|
import atpl = require('atpl');
|
|
|
|
var bool: boolean;
|
|
var str: string;
|
|
var err: Error;
|
|
var items: any;
|
|
var options: Object;
|
|
var callback: Function;
|
|
|
|
atpl.compile(str, options);
|
|
atpl.__express(str, options, callback);
|
|
|
|
atpl.registerExtension(items);
|
|
atpl.registerTags(items);
|
|
atpl.registerFunctions(items);
|
|
atpl.registerFilters(items);
|
|
atpl.registerTests(items);
|
|
|
|
atpl.registerTags(null);
|
|
atpl.renderFile(str, str, options, bool, (e, res?) => {
|
|
err = err;
|
|
str = res;
|
|
});
|