New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/knockout

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/knockout - npm Package Compare versions

Comparing version

to
3.4.67

14

knockout/index.d.ts

@@ -11,2 +11,3 @@ // Type definitions for Knockout v3.4.0

// Retsam <https://github.com/Retsam>
// Rey Pena <https://github.com/ReyPena>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -950,5 +951,6 @@ // TypeScript Version: 2.3

declare namespace KnockoutComponentTypes {
interface Config {
viewModel?: ViewModelFunction | ViewModelSharedInstance | ViewModelFactoryFunction | AMDModule;
type ViewModel = ViewModelFunction | ViewModelSharedInstance | ViewModelFactoryFunction | AMDModule;
interface Config<T> {
viewModel?: T;
template: string | Node[] | DocumentFragment | TemplateElement | AMDModule;

@@ -958,4 +960,4 @@ synchronous?: boolean;

interface ComponentConfig {
viewModel?: ViewModelFunction | ViewModelSharedInstance | ViewModelFactoryFunction | AMDModule;
interface ComponentConfig<T = ViewModel> {
viewModel?: T;
template: any;

@@ -1032,3 +1034,3 @@ createViewModel?: any;

*/
register(componentName: string, config: KnockoutComponentTypes.Config | KnockoutComponentTypes.EmptyConfig): void;
register<T = KnockoutComponentTypes.ViewModel>(componentName: string, config: KnockoutComponentTypes.Config<T> | KnockoutComponentTypes.EmptyConfig): void;
/**

@@ -1035,0 +1037,0 @@ * Determine if a component with the specified name is already registered in the default component loader.

{
"name": "@types/knockout",
"version": "3.4.66",
"version": "3.4.67",
"description": "TypeScript definitions for Knockout",

@@ -46,6 +46,11 @@ "license": "MIT",

"githubUsername": "Retsam"
},
{
"name": "Rey Pena",
"url": "https://github.com/ReyPena",
"githubUsername": "ReyPena"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -58,4 +63,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "960a2a9e9562390f1fded145be400eb8f7ca82ee6e4b981d6e53e6f0902362db",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "74c7cee2e245ee51dab37744c9b614bce9a9419ab7b784163aea4000c2334e7f",
"typeScriptVersion": "2.8"
}

@@ -5,13 +5,13 @@ # Installation

# Summary
This package contains type definitions for Knockout ( http://knockoutjs.com ).
This package contains type definitions for Knockout (http://knockoutjs.com).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout.
Additional Details
* Last updated: Wed, 15 May 2019 15:58:30 GMT
### Additional Details
* Last updated: Thu, 20 Feb 2020 19:06:34 GMT
* Dependencies: none
* Global values: ko
* Global values: `ko`
# Credits
These definitions were written by Boris Yankov <https://github.com/borisyankov>, Igor Oleinikov <https://github.com/Igorbek>, Clément Bourgeois <https://github.com/moonpyk>, Matt Brooks <https://github.com/EnableSoftware>, Benjamin Eckardt <https://github.com/BenjaminEckardt>, Mathias Lorenzen <https://github.com/ffMathy>, Leonardo Lombardi <https://github.com/ltlombardi>, Retsam <https://github.com/Retsam>.
These definitions were written by [Boris Yankov](https://github.com/borisyankov), [Igor Oleinikov](https://github.com/Igorbek), [Clément Bourgeois](https://github.com/moonpyk), [Matt Brooks](https://github.com/EnableSoftware), [Benjamin Eckardt](https://github.com/BenjaminEckardt), [Mathias Lorenzen](https://github.com/ffMathy), [Leonardo Lombardi](https://github.com/ltlombardi), [Retsam](https://github.com/Retsam), and [Rey Pena](https://github.com/ReyPena).