Skip to content

Commit

Permalink
fix: location should be optional (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshwery authored Jan 29, 2019
1 parent e4b7018 commit e27cfe8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/gen-js/js/analytics/generated/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface Context {
};
ip?: string;
locale?: string;
location: {
location?: {
city?: string;
country?: string;
latitude?: string;
Expand Down
2 changes: 1 addition & 1 deletion examples/gen-js/node/analytics/generated/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface Context {
};
ip?: string;
locale?: string;
location: {
location?: {
city?: string;
country?: string;
latitude?: string;
Expand Down
2 changes: 1 addition & 1 deletion examples/gen-js/ts/analytics/generated/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface Context {
};
ip?: string;
locale?: string;
location: {
location?: {
city?: string;
country?: string;
latitude?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/commands/gen-js/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export interface Context {
}
ip?: string
locale?: string
location: {
location?: {
city?: string
country?: string
latitude?: string
Expand Down
2 changes: 1 addition & 1 deletion tests/commands/gen-js/__snapshots__/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface Context {
};
ip?: string;
locale?: string;
location: {
location?: {
city?: string;
country?: string;
latitude?: string;
Expand Down
2 changes: 1 addition & 1 deletion tests/commands/gen-js/__snapshots__/index.node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface Context {
};
ip?: string;
locale?: string;
location: {
location?: {
city?: string;
country?: string;
latitude?: string;
Expand Down

0 comments on commit e27cfe8

Please sign in to comment.