forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
knockout-amd-helpers.d.ts
34 lines (26 loc) · 823 Bytes
/
knockout-amd-helpers.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Type definitions for knockout-amd-helpers
// Project: https://github.com/rniemeyer/knockout-amd-helpers
// Definitions by: David Sichau <https://github.com/DavidSichau>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../knockout/knockout.d.ts" />
interface KnockoutAMDModule {
baseDir: string;
initializer: string;
disposeMethod: string;
templateProperty: string;
}
interface KnockoutAMDTemplate {
defaultPath: string;
defaultSuffix: string;
defaultRequireTextPluginName: string;
}
interface KnockoutBindingHandlers {
module: KnockoutAMDModule;
}
interface KnockoutStatic {
amdTemplateEngine: KnockoutAMDTemplate
}
declare module "knockout-amd-helpers" {
export = ko;
}
declare var ko: KnockoutStatic;