-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
82 additions
and
3,262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,4 +115,8 @@ dist | |
.pnp.* | ||
|
||
# IDE | ||
.idea | ||
.idea | ||
|
||
|
||
# Build | ||
public/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
declare module "data/countyData" { | ||
export interface Details { | ||
male: number; | ||
female: number; | ||
intersex: number; | ||
households: number; | ||
averageHouseholds: number; | ||
popDensity: { | ||
landArea: number; | ||
density: number; | ||
}; | ||
} | ||
export interface County { | ||
[key: string]: Details; | ||
} | ||
export const counties: County; | ||
} | ||
declare module "data/subcountyData" { | ||
interface Details { | ||
male: number; | ||
female: number; | ||
intersex: number; | ||
popDensity: { | ||
landArea: number; | ||
density: number | null; | ||
}; | ||
total: number; | ||
} | ||
export interface SubCounty { | ||
[key: string]: { | ||
[key: string]: Details; | ||
}; | ||
} | ||
export const subCounties: SubCounty; | ||
} | ||
declare module "data/country" { | ||
export const country: { | ||
total: number; | ||
male: number; | ||
female: number; | ||
intersex: number; | ||
populationIn2009: number; | ||
popChange: number; | ||
households: number; | ||
averageHouseholds: number; | ||
popDensity: { | ||
landArea: number; | ||
density: number; | ||
}; | ||
}; | ||
} | ||
declare module "data/index" { | ||
import { counties } from "data/countyData"; | ||
import { subCounties } from "data/subcountyData"; | ||
import { country } from "data/country"; | ||
export { counties, subCounties, country }; | ||
} | ||
declare module "routers/country" { | ||
const router: import("express-serve-static-core").Router; | ||
export default router; | ||
} | ||
declare module "routers/counties" { | ||
const router: import("express-serve-static-core").Router; | ||
export default router; | ||
} | ||
declare module "app" { | ||
const app: import("express-serve-static-core").Express; | ||
export default app; | ||
} | ||
declare module "index" { } | ||
declare module "test/counties.test" { } | ||
declare module "test/country.test" { } | ||
declare module "test/subcounties.test" { } |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.