UNPKG
cowin-apis
Version:
latest (1.0.1)
1.0.1
This is an api client for cowin portal apis
cowin-apis
/
dist
/
Functions
/
MetaData
/
getDistricts.d.ts
10 lines
(9 loc)
•
233 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
interface
Districts
{
districts
:
District
[];
ttl
:
number
; }
export
interface
District
{
district_id
:
number
;
district_name
:
string
; }
export
declare
const
getDistricts
:
(
stateId
:
number
) =>
Promise
<
Districts
>;