Created
October 27, 2023 07:48
-
-
Save jabranr/ec2ca2ffb520b25299a02aa9ddc256b9 to your computer and use it in GitHub Desktop.
Create a typescript declaration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npx -p typescript tsc {file_name.js} --declaration --allowJs --emitDeclarationOnly --outDir {output_dir_name} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment