Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ocpi-types-typescript

gaia-green-tech137AGPL-3.0-or-later0.1.0TypeScript support: included

Auto-generated TypeScript definitions for the OCPI protocol

ocpi, emsp, cpo, electromobility

readme

ocpi-types-typescript

Auto-generated TypeScript definitions for the OCPI protocol.

Installation

npm install --save-dev ocpi-types-typescript

Usage

You can import all defined types as so:

import type { Location } from 'ocpi-types-typescript/v2.1.1';

const myLocation: Location;