mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-04 19:42:46 +08:00
* Update index.d.ts removed fromjs overload that no longer exists in latest knockout.mapping, and added much better type safety for "fromJS". * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * fix for typescript version. * more typescript versioning fixes. * fix for minor bug. * yet another test fix. * yet another test fix.
35 lines
803 B
TypeScript
35 lines
803 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
|
|
// TypeScript Version: 2.3
|
|
|
|
/// <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;
|