Migrate the 'fetch.ts' script to TypeScript and update .asf.yaml