4.0.4 • Published 6 months ago

@types/preact-custom-element v4.0.4

Weekly downloads
126
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/preact-custom-element

Summary

This package contains type definitions for preact-custom-element (https://github.com/preactjs/preact-custom-element#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/preact-custom-element.

index.d.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: Tue, 29 Jun 2021 11:31:20 GMT
  • Dependencies: @types/preact
  • Global values: none

Credits

These definitions were written by Nicolai Kasper.

4.0.4

6 months ago

4.0.3

7 months ago

4.0.2

8 months ago

4.0.1

3 years ago

4.0.0

4 years ago