gbfs-typescript-types
Version:
Language Bindings for GBFS in Typescript.
35 lines (29 loc) • 691 B
text/typescript
/**
* This module was automatically generated by `ts-interface-builder`
*/
import * as t from "ts-interface-checker";
// tslint:disable:object-literal-key-quotes
export const SystemRegions = t.iface([], {
"data": "Data",
"last_updated": "number",
"ttl": "number",
"version": "Version",
[t.indexKey]: "any",
});
export const Data = t.iface([], {
"regions": t.array("Region"),
[t.indexKey]: "any",
});
export const Region = t.iface([], {
"name": "string",
"region_id": "string",
[t.indexKey]: "any",
});
export const Version = t.lit("2.3");
const exportedTypeSuite: t.ITypeSuite = {
SystemRegions,
Data,
Region,
Version,
};
export default exportedTypeSuite;