@jawg/types
v1.0.6
Published
Shared TypeScript definitions for Jawg Maps projects
Downloads
3,353
Readme
types.ts
Shared TypeScript definitions for Jawg Maps projects
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>;
}