Closed DenisCarriere closed 4 years ago
I've added a few changes to improve Typescript support:
index.d.ts
cheap-ruler.d.ts
cheap-ruler.js
ts-node
units
CheapRuler.units
To be merged in https://github.com/mapbox/cheap-ruler/pull/43
I've added a few changes to improve Typescript support:
index.d.ts
=>cheap-ruler.d.ts
(since the CommonJS file ischeap-ruler.js
)ts-node
executes the *.ts file to make sure not only the types are correct but the runtime also works.units
as static member (can be access via TypescriptCheapRuler.units
)