Skip to content

Commit f30df88

Browse files
committed
- allow any property on features
1 parent 39718af commit f30df88

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ export interface Feature<P extends FeatureProperties> extends GeoJsonFeature<Geo
7979
feature_type: string
8080
}
8181

82+
interface Properties extends Record<string, any> {}
83+
8284
export interface NamedFeatureProperties extends Properties {
8385
name: Labels | null,
8486
alt_name?: Labels | null,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "imdf-typescript",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "Typescript definitions for IMDF https://docs.ogc.org/cs/20-094/index.html",
55
"main": "index.d.ts",
66
"scripts": {
@@ -11,7 +11,7 @@
1111
"url": "git+https://github.com/to4st/imdf-typescript.git"
1212
},
1313
"keywords": [],
14-
"author": "Torben Steinhardt <[email protected]>",
14+
"author": "Torben Komsthöft <[email protected]>",
1515
"license": "ISC",
1616
"bugs": {
1717
"url": "https://github.com/to4st/imdf-typescript/issues"

0 commit comments

Comments
 (0)