novifinancial / serde-reflection

Rust libraries and tools to help with interoperability and testing of serialization formats based on Serde.
Apache License 2.0
139 stars 42 forks source link

Typescript external definitions use mod.ts #108

Closed dimroc closed 3 years ago

dimroc commented 3 years ago

Summary

Prior to change, external namespaces were pull in as a single type script file:

workspace/diem/shuffle/move/examples/main/txn_builders/diemTypes.ts

To better comply with deno conventions, this has been updated to namespace/mod.ts:

workspace/diem/shuffle/move/examples/main/txn_builders/diemTypes/mod.ts

Test Plan

cargo test test_typescript_code_compiles_with_external_definitions