I run this cmd npx -p typescript tsc config/**/*.{m,}js --declaration ... to emit the declaration files for both .mjs and .js files
but I got this error File 'config/**/*.{m,}js' has an unsupported extension. The only supported extensions are ...
how can I tell tsc to deal with all .js and .mjs in the specified path without creating a tsconfig.json file specially for this cmd?