Skip to content

Commit

Permalink
refactor: remove enum from Country type, cause it came undefined afte…
Browse files Browse the repository at this point in the history
…r importing it

based on these 2 issues seems its a TS thing
kulshekhar/ts-jest#281
microsoft/TypeScript#5243 (comment)
  • Loading branch information
neuberoliveira committed Sep 10, 2020
1 parent d33f961 commit 35cdb8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,8 @@ declare module 'pagarme' {

}

export enum Country {
export type Country = string
/*{
Af = 'AF',
Al = 'AL',
Dz = 'DZ',
Expand Down Expand Up @@ -1411,7 +1412,7 @@ declare module 'pagarme' {
Ye = 'YE',
Zm = 'ZM',
Zw = 'ZW'
}
}*/

export interface RequestError {
name: string
Expand Down

0 comments on commit 35cdb8c

Please sign in to comment.