🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@jawg/types

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jawg/types

Shared TypeScript definitions for Jawg Maps projects

1.3.0
latest
Version published
Maintainers
0
Created

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>;
}

FAQs

Package last updated on 02 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts