@tricoteuses/assemblee
Version:
Retrieve, clean up & handle French Assemblée nationale's open data
12 lines (11 loc) • 384 B
TypeScript
import { ScrutinClean } from '../schemas/clean/scrutins';
type DecompteVoixMutable = {
abstention?: unknown;
abstentions?: unknown;
nonVotant?: unknown;
nonVotants?: unknown;
[key: string]: unknown;
};
export declare function cleanDecompteVoix(decompteVoix: DecompteVoixMutable): void;
export declare function cleanScrutin(data: unknown): ScrutinClean;
export {};