Skip to content

Commit d8cd5f4

Browse files
Merge pull request #324 from ahocevar/package-types
Map .d.ts files in package.json
2 parents 713456e + 6526b56 commit d8cd5f4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,26 @@
2121
"browser": "./dist-browser/geotiff.js"
2222
}
2323
},
24+
"typesVersions": {
25+
"*": {
26+
"globals": ["dist-module/globals.d.ts"],
27+
"rgb": ["dist-module/rgb.d.ts"],
28+
"BaseDecoder": ["dist-module/compression/BaseDecoder.d.ts"],
29+
"getDecoder": ["dist-module/compression/index.d.ts"],
30+
"addDecoder": ["dist-module/compression/index.d.ts"],
31+
"setLogger": ["dist-module/logging.d.ts"],
32+
"GeoTIFF": ["dist-module/geotiff.d.ts"],
33+
"MultiGeoTIFF": ["dist-module/geotiff.d.ts"],
34+
"fromUrl": ["dist-module/geotiff.d.ts"],
35+
"fromArrayBuffer": ["dist-module/geotiff.d.ts"],
36+
"fromFile": ["dist-module/geotiff.d.ts"],
37+
"fromBlob": ["dist-module/geotiff.d.ts"],
38+
"fromUrls": ["dist-module/geotiff.d.ts"],
39+
"writeArrayBuffer": ["dist-module/geotiff.d.ts"],
40+
"Pool": ["dist-module/pool.d.ts"],
41+
"GeoTIFFImage": ["dist-module/geotiffimage.d.ts"]
42+
}
43+
},
2444
"files": [
2545
"dist-module",
2646
"dist-node",

0 commit comments

Comments
 (0)