We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents afe1bc6 + 8c2bed3 commit f1f453eCopy full SHA for f1f453e
index.d.ts
@@ -8,9 +8,6 @@ declare module 'cep-promise' {
8
service: string
9
}
10
11
- // this workarround is because this : https://github.com/Microsoft/TypeScript/issues/5073
12
- namespace cep {}
13
-
14
type AvaliableProviders =
15
"brasilapi" |
16
"correios" |
@@ -22,7 +19,7 @@ declare module 'cep-promise' {
22
19
timeout?: number
23
20
24
21
25
- export function cep(cep: string | number, configurations: Configurations): Promise<CEP>
+ function cep(cep: string | number, configurations?: Configurations): Promise<CEP>
26
27
export default cep
28
0 commit comments