mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Added missing Chance.postcode() to @types/chance (#37560)
* Added missing Chance.postcode() * Added test for chance.postcode()#
This commit is contained in:
committed by
Sheetal Nandi
parent
c376b9fcd1
commit
b1963014c3
@@ -185,3 +185,5 @@ sentence = chance.sentence({punctuation: ';'});
|
||||
sentence = chance.sentence({punctuation: '!'});
|
||||
sentence = chance.sentence({punctuation: ':'});
|
||||
sentence = chance.sentence({words: 10, punctuation: '?'});
|
||||
|
||||
const postcode: string = chance.postcode();
|
||||
|
||||
Vendored
+1
@@ -101,6 +101,7 @@ declare namespace Chance {
|
||||
locales(opts?: {region: true}): string[];
|
||||
longitude(opts?: Options): number;
|
||||
phone(opts?: Options): string;
|
||||
postcode(): string;
|
||||
postal(): string;
|
||||
province(opts?: Options): string;
|
||||
state(opts?: Options): string;
|
||||
|
||||
Reference in New Issue
Block a user