spookvooper-api/typings/modules/District.d.ts

13 lines
454 B
TypeScript
Raw Permalink Normal View History

2020-12-22 05:29:13 +00:00
import { District as DistrictType, DistrictWealthType, SenatorDistrict } from './types/Types'
import { ReturnedUser } from './interfaces/Interfaces'
2020-12-22 05:29:13 +00:00
declare class District {
private readonly districtName
get name (): DistrictType;
set name (name: DistrictType);
constructor (name: DistrictType);
getWealth (type: DistrictWealthType): Promise<number>;
getSenator (district?: SenatorDistrict): Promise<ReturnedUser>;
}
export default District