UNPKG

@types/simulant

Version:
29 lines (21 loc) 964 B
# Installation > `npm install --save @types/simulant` # Summary This package contains type definitions for simulant (https://github.com/Rich-Harris/simulant#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simulant. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simulant/index.d.ts) ````ts declare namespace event { function fire(el: Node, e: Event): void; function fire(el: Node, e: string, payload?: { [key: string]: any }): void; } declare function event(eventName: string, payload?: { [key: string]: any }): Event; declare function event(window: Window, eventName: string, payload?: { [key: string]: any }): Event; export = event; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 15:11:36 GMT * Dependencies: none # Credits These definitions were written by [Elizabeth Craig](https://github.com/ecraig12345).