@types/preact-custom-element
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -10,3 +10,3 @@ // Type definitions for preact-custom-element 4.0 | ||
componentDefinition: FunctionComponent<any> | ComponentClass<any> | FunctionalComponent<any>, | ||
tagName: string, | ||
tagName?: string, | ||
observedAttributes?: string[], | ||
@@ -13,0 +13,0 @@ options?: { shadow: boolean }, |
{ | ||
"name": "@types/preact-custom-element", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "TypeScript definitions for preact-custom-element", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/preact-custom-element", | ||
"license": "MIT", | ||
@@ -24,4 +25,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "84f3c9118a48c2299bf57307518eb0bdbace3ad28b78d20bedcd5a90e9b0d635", | ||
"typesPublisherContentHash": "4cf155c69e3a6d006a8d9d92e76ef2c992a24ef1894772a3141de11831cacc60", | ||
"typeScriptVersion": "3.9" | ||
} |
@@ -9,5 +9,24 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/preact-custom-element. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/preact-custom-element/index.d.ts) | ||
````ts | ||
// Type definitions for preact-custom-element 4.0 | ||
// Project: https://github.com/preactjs/preact-custom-element#readme | ||
// Definitions by: Nicolai Kasper <https://github.com/paull39> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 3.9 | ||
import { ComponentClass, FunctionComponent, FunctionalComponent } from 'preact'; | ||
declare function register( | ||
componentDefinition: FunctionComponent<any> | ComponentClass<any> | FunctionalComponent<any>, | ||
tagName?: string, | ||
observedAttributes?: string[], | ||
options?: { shadow: boolean }, | ||
): void; | ||
export = register; | ||
```` | ||
### Additional Details | ||
* Last updated: Mon, 21 Sep 2020 15:53:25 GMT | ||
* Last updated: Tue, 29 Jun 2021 11:31:20 GMT | ||
* Dependencies: [@types/preact](https://npmjs.com/package/@types/preact) | ||
@@ -14,0 +33,0 @@ * Global values: none |
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
3966
0
36