This commit is contained in:
Shogo Iwano 2014-12-25 09:29:28 +09:00
parent dd4398796d
commit 8846c6cddc
2 changed files with 22 additions and 0 deletions

6
swag/swag-tests.ts Normal file
View File

@ -0,0 +1,6 @@
/// <reference path="swag.d.ts" />
import Handlebars = require('handlebars');
import Swag = require('swag');
Swag.registerHelpers(Handlebars);

16
swag/swag.d.ts vendored Normal file
View File

@ -0,0 +1,16 @@
// Type definitions for swag 0.6.1
// Project: https://github.com/elving/swag
// Definitions by: Shogo Iwano <https://github.com/shiwano>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../handlebars/handlebars.d.ts" />
interface SwagStatic {
registerHelpers(handlebars: typeof Handlebars): void;
}
declare var Swag: SwagStatic;
declare module 'swag' {
export = Swag;
}