Use correct tsconfig.json
when generating npm package
#21651
Merged
10000
tsconfig.json
when generating npm package
#21651