mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Add swag
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
/// <reference path="swag.d.ts" />
|
||||
|
||||
import Handlebars = require('handlebars');
|
||||
import Swag = require('swag');
|
||||
|
||||
Swag.registerHelpers(Handlebars);
|
||||
Vendored
+16
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user