howsmydriving-twitter
Version:
Twitter abstraction for @HowsMyDrivingWA.
13 lines (12 loc) • 556 B
TypeScript
/**
* Array of all valid 2 character abbreviations for US states/occupied territories and
* Canadian provinces/territories
**/
export declare let StatesAndProvinces: Array<string>;
/**
* When displaying a license we should not use XX:nnnnn especially since when
* putting a # in front, it means all our tweets will show up in "yay state XX" hashtag queries.
* Also it protects from someone copying/pasting or retweeting or something and having the bot
* detect it as another request.
**/
export declare function formatPlate(license: string): string;