{"id":20826701,"url":"https://github.com/cedrickchee/typescript-deep-dive","last_synced_at":"2025-10-14T23:04:13.290Z","repository":{"id":44176243,"uuid":"142292854","full_name":"cedrickchee/typescript-deep-dive","owner":"cedrickchee","description":"Hands-on TypeScript programming exercises based on \"The definitive guide to TypeScript\"  book.","archived":false,"fork":false,"pushed_at":"2022-12-03T18:58:35.000Z","size":186,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-09T23:39:45.671Z","etag":null,"topics":["educational-materials","learning-by-doing","typescript","typescript-book"],"latest_commit_sha":null,"homepage":"http://basarat.gitbooks.io/typescript/content/docs/getting-started.html","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cedrickchee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-25T11:50:18.000Z","updated_at":"2025-02-21T15:50:35.000Z","dependencies_parsed_at":"2023-01-22T17:05:17.718Z","dependency_job_id":null,"html_url":"https://github.com/cedrickchee/typescript-deep-dive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cedrickchee/typescript-deep-dive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Ftypescript-deep-dive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Ftypescript-deep-dive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Ftypescript-deep-dive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Ftypescript-deep-dive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedrickchee","download_url":"https://codeload.github.com/cedrickchee/typescript-deep-dive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Ftypescript-deep-dive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021843,"owners_count":26087060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["educational-materials","learning-by-doing","typescript","typescript-book"],"created_at":"2024-11-17T23:09:48.294Z","updated_at":"2025-10-14T23:04:13.264Z","avatar_url":"https://github.com/cedrickchee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My TypeScript Hands-on\n\nThis repo contains notes and exercises from my deep dive into TypeScript and I _learn by doing_ the lessons from the **[The definitive guide to TypeScript](https://github.com/basarat/typescript-book/)** book.\n\n**A little context**\n\nI am a polyglot programmer. Over the 10+ years, I have written codes both professionally and as a hobby in many programming languages—from Ruby to JavaScript, Go, Java, and Python. My motivation of learning TypeScript is to improved code quality as I have been writing a lot of JavaScript code since 2013 in my role as a front-end developer, hybrid mobile app developer, and React Native mobile app developer.\n\n## What is TypeScript\n\n[TypeScript](https://www.typescriptlang.org/) is JavaScript that scales.\n\n\u003e TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\n\u003e Any browser. Any host. Any OS. Open source.\n\n## Motivation and Design Goals of TypeScript\n\n### Why TypeScript\n\nThere are two main goals of TypeScript:\n\n- Provide an **optional type** system for JavaScript.\n- Provide planned **features from future JavaScript** editions to current JavaScript engines.\n\nThe desire for these goals is motivated below.\n\n### Why add types to JavaScript?\n\nTypes have proven ability to enhance code quality and understandability. Specifically:\n\n- Types increase your agility when doing refactoring. It's **better for the compiler to catch errors than to have things fail at runtime**.\n- **Types are one of the best forms of documentation** you can have. The function signature is a theorem and the function body is the proof.\n\nHowever types have a way of being unnecessarily ceremonious. TypeScript is very particular about keeping the barrier to entry as low as possible. Here's how:\n\n- Your JavaScript is TypeScript\n- Types can be implicit\n- Types can be explicit\n- Types are structural\n- Type errors do not prevent JavaScript emit\n- Types can be ambient\n- Future JavaScript =\u003e Now\n\n## Project Structure\n\n_WIP. Please check again soon._\n\nThank you for your interest.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedrickchee%2Ftypescript-deep-dive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedrickchee%2Ftypescript-deep-dive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedrickchee%2Ftypescript-deep-dive/lists"}