To make sure the output of the migrated files matches the current output, we can use API Extractor to compare them. It generates a "markdown" version of the API surface, making it easy to diff the two files (JS-generated vs. TS-migrated) using standard Git or a text editor.