if import as recommended in https://www.npmjs.com/package/@tsconfig/recommended it gives the follow error: (treats tsconfig.json as a directory)
esbuild index.ts
tsconfig.json:2:13: error: Cannot read file "node_modules/@tsconfig/recommended/tsconfig.json/tsconfig.json": not a directory
"extends": "@tsconfig/recommended/tsconfig.json"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error
But with "extends": "@tsconfig/recommended"
works!