mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
first batch: the easy pickings - as per https://github.com/borisyankov/DefinitelyTyped/issues/115 - added DT headers (scraped creators from git history) - added tests - some modifications - added CONTRIBUTORS.md for the substantial defs (>50 LOC)
26 lines
505 B
TypeScript
26 lines
505 B
TypeScript
/// <reference path="atpl.d.ts" />
|
|
|
|
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;
|
|
});
|