@types/virtual-dom
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -15,3 +15,3 @@ // Type definitions for virtual-dom 2.1.1 | ||
interface VProperties { | ||
attributes?: {[index: string]: string}; | ||
attributes?: {[index: string]: string} | undefined; | ||
/** | ||
@@ -35,4 +35,4 @@ I would like to use {[index: string]: string}, but then we couldn't use an | ||
children: VTree[]; | ||
key?: string; | ||
namespace?: string; | ||
key?: string | undefined; | ||
namespace?: string | undefined; | ||
count: number; | ||
@@ -101,8 +101,8 @@ hasWidgets: boolean; | ||
interface VPatchOptions<T extends Element> { | ||
patch?: PatchFn<T>; | ||
patch?: PatchFn<T> | undefined; | ||
} | ||
interface createProperties extends VProperties { | ||
key?: string; | ||
namespace?: string; | ||
key?: string | undefined; | ||
namespace?: string | undefined; | ||
} | ||
@@ -116,4 +116,4 @@ | ||
*/ | ||
function create(vnode: VText, opts?: {document?: Document; warn?: boolean}): Text; | ||
function create(vnode: VNode | Widget | Thunk, opts?: {document?: Document; warn?: boolean}): Element; | ||
function create(vnode: VText, opts?: {document?: Document | undefined; warn?: boolean | undefined}): Text; | ||
function create(vnode: VNode | Widget | Thunk, opts?: {document?: Document | undefined; warn?: boolean | undefined}): Element; | ||
function h(tagName: string, properties: createProperties, children: string | VChild[]): VNode; | ||
@@ -120,0 +120,0 @@ function h(tagName: string, children: string | VChild[]): VNode; |
{ | ||
"name": "@types/virtual-dom", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "TypeScript definitions for virtual-dom", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/virtual-dom", | ||
"license": "MIT", | ||
@@ -14,10 +15,12 @@ "contributors": [ | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/virtual-dom" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "ac72a5deaeed68030ef726aea00b107bd5ef3a4f1f83ed811a6d776e2fcee7ba", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "fae5763678d22bd117dad04991e429f0eb4a9403a5d25929e59809fe540d51de", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/virtual-dom | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/virtual-dom. | ||
Additional Details | ||
* Last updated: Mon, 09 Jul 2018 20:32:27 GMT | ||
### Additional Details | ||
* Last updated: Fri, 02 Jul 2021 18:05:06 GMT | ||
* Dependencies: none | ||
* Global values: VirtualDOM | ||
* Global values: `VirtualDOM` | ||
# Credits | ||
These definitions were written by Christopher Brown <https://github.com/chbrown>. | ||
These definitions were written by [Christopher Brown](https://github.com/chbrown). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
7621
0