Skip to content

Commit c65a632

Browse files
committed
Fixed: missing typescript error
1 parent cb501c2 commit c65a632

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/utils/BharatMap/modules/BharatMap.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,15 @@ interface CapitalData {
1515
}
1616

1717
interface StateData {
18-
capital: CapitalData;
19-
[key: string]: any; // for other state properties
18+
capital: {
19+
coordinates: any;
20+
name: string;
21+
};
22+
area: string;
23+
languages: string;
24+
danceforms: string;
25+
literacy: string;
26+
description: string;
2027
}
2128

2229
export class BharatMap {

0 commit comments

Comments
 (0)