Skip to content

Commit

Permalink
Merge pull request #589 from geostyler/fix-outputparams
Browse files Browse the repository at this point in the history
Make outputFormat optional
  • Loading branch information
KaiVolland authored Jun 13, 2024
2 parents 5019798 + 3c8755a commit 9ca020b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WfsDataParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ export type RequestParams1_1_0 = {
version: '1.1.0';
typeName: string;
maxFeatures?: number;
outputFormat: 'application/json' | 'application/geo+json';
outputFormat?: 'application/json' | 'application/geo+json';
};

export type RequestParams2_0_0 = {
version: '2.0.0';
typeNames: string;
count?: number;
outputFormat: 'application/json' | 'application/geo+json';
outputFormat?: 'application/json' | 'application/geo+json';
};

export type RequestParams = GetFeatureOptionalParams & (RequestParams1_1_0 | RequestParams2_0_0);
Expand Down

0 comments on commit 9ca020b

Please sign in to comment.