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

1.0.6 • Public • Published

types.ts

Shared TypeScript definitions for Jawg Maps projects

npm version Run lint and test Publish GitHub Pages Release NPM Package License

Usage

See all exported types at https://jawg.github.io/types.ts

Example

Perfect usage in @jawg/js-loader index.d.ts

import { JawgPlaces } from '@jawg/types';

interface Options {
  accessToken: string;
}

export default class JawgJSLoader {
  constructor(options: Options);
  loadJawgPlaces(version?: string): Promise<typeof JawgPlaces>;
}

Readme

Keywords

Package Sidebar

Install

npm i @jawg/types

Weekly Downloads

823

Version

1.0.6

License

MIT

Unpacked Size

21.8 kB

Total Files

6

Last publish

Collaborators

  • jawg-bot
  • joxit