Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/preact-custom-element

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/preact-custom-element - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

2

preact-custom-element/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc