mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08:00
Add swag
This commit is contained in:
1 parent
dd4398796d
commit
8846c6cddc
2 files changed
+22
No files matched your search
@@ -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