0.0.4 • Published 3 months ago

@types/svg-maps__common v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Installation

npm install --save @types/svg-maps__common

Summary

This package contains type definitions for @svg-maps (https://github.com/VictorCazanave/svg-maps).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg-maps__common.

index.d.ts

// Type definitions for @svg-maps
// Project: https://github.com/VictorCazanave/svg-maps
// Definitions by: Nick Glazer <https://github.com/nickglazer>
//                 Piotr Blażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

// This extracts the common definitions from SVGMaps to allow reusing common interfaces in SVG maps packages.

export interface Location {
    path: string;
    id: string;
    name?: string | undefined;
}

export interface Map {
    viewBox: string;
    locations: Location[];
    label?: string | undefined;
}

Additional Details

  • Last updated: Fri, 02 Jul 2021 22:33:11 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Nick Glazer, and Piotr Blażejewicz.