# build types/tfjs.d.ts
node_modules/.bin/api-extractor run --local --verbose --config types/api-tfjs.json
# patch types/tfjs.d.ts
sed -i 's/\@tensorflow\/tfjs-core/\.\/tfjs-core/' types/tfjs.d.ts

echo "done..."