Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

1001 B
Raw Blame

TS Smoosh

Combine type decls with related source files.

Use

Given a JavaScript file (or list of files) like so:

$ node ts-smoosh/bin ./src/some-file.js

Will produce .jsx files using nearby .d.ts files.

Running Tests

$ node test

Test cases live in various directories in ./tests. Tests run by comparing the output against golden master .tsx files. To update the masters, run node ts-smoosh/bin ./test/0X-dir/somefile.js.

Notes

Here are articles and docs I that were helpful when writing this script.