@types/umami
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

Installation

npm install --save @types/umami

Summary

This package contains type definitions for umami (https://github.com/umami-software/umami).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/umami.

index.d.ts

declare var umami: umami.umami;

// Based on https://umami.is/docs/tracker-functions
declare namespace umami {
    interface umami {
        track(view_properties?: { website: string; [key: string]: string }): void;
        track(event_name: string, event_data?: { [key: string]: string | number }): void;
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Noah Overcash.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/umami

Weekly Downloads

1,542

Version

0.1.5

License

MIT

Unpacked Size

3.14 kB

Total Files

5

Last publish

Collaborators

  • types