Skip to content

Commit

Permalink
Merge pull request #107 from russellporter/typescript-fixes
Browse files Browse the repository at this point in the history
Minor Typescript definition improvements
  • Loading branch information
tyrasd authored Nov 27, 2019
2 parents e3e1a5e + a2e9515 commit e05ddb0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ declare var osmtogeojson: osmtogeojson.OsmToGeoJsonStatic;

declare namespace osmtogeojson {
interface OsmToGeoJSONOptions {
verbose: boolean;
flatProperties: boolean;
verbose?: boolean;
flatProperties?: boolean;
// tslint:disable-next-line:no-any
uninterestingTags: any;
uninterestingTags?: any;
// tslint:disable-next-line:no-any
polygonFeatures: any;
polygonFeatures?: any;
// tslint:disable-next-line:no-any
deduplicator: any;
deduplicator?: any;
}

export interface OsmToGeoJsonStatic {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"xmldom": "~0.1.16"
},
"optionalDependencies": {
"@types/geojson": "^1.0.2"
"@types/geojson": "^7946.0"
},
"devDependencies": {
"expect.js": "~0.2.0",
Expand Down

0 comments on commit e05ddb0

Please sign in to comment.