TypeScript core types for QA engineers — string, number, boolean, void, any, and unknown. Learn how to stop guessing about your test data and let the compiler catch bugs before they ever reach the runner.
In this video, we compare a JavaScript bug that silently passes with the TypeScript version that catches it instantly, then walk through type inference, template literals, the dangerous `any` keyword, and defensive narrowing with `unknown`.
⏱ Timestamps:
0:00 — JS vs TS comparison
1:15 — Core Types: string, number, boolean
2:35 — Template Literals
3:16 — The Special Trio: void, any, unknown
5:00 — Putting It All Together
🎯 Homework: Convert one of your small JavaScript test files to TypeScript. Add types to your variables and see what potential issues you uncover.
📚 Resources mentioned:
Episode 1 source code (episode_01.ts) in the series folder
📝 Related blog post: https://idavidov.eu/your-first-steps-...
🚀 Level up your Playwright:
33 Playwright Tips & Tricks (FREE PDF): https://buymeacoffee.com/idavidov/e/5...
AI-Native Playwright Scaffold — 16 skills, zero config: https://buymeacoffee.com/idavidov/e/5...
1:1 Playwright Architecture & Troubleshooting Session: https://buymeacoffee.com/idavidov/e/5...
Browse all my products: https://buymeacoffee.com/idavidov/extras
Subscribe for @ArchQA
🔗 Connect with me:
Blog: https://idavidov.eu
LinkedIn: / ivdavidov
GitHub: https://github.com/idavidov13
❤️ Support my work: https://buymeacoffee.com/idavidov
📺 Full TypeScript for Automation QA playlist: • TypeScript for Automation QA (Without the ...
Previous: Series Overview — [YouTube URL TBD]
Next: Arrays and Objects — [YouTube URL TBD]
#playwright #typescript #framework #qa #softwaredevelopment #softwaretesting #api #ui #testing #quality #qualityassurance #testautomation #engineering