mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 05:20:24 +08:00
35 lines
777 B
TypeScript
35 lines
777 B
TypeScript
// 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/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types="knockout" />
|
|
|
|
|
|
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;
|