{"id":51309207,"url":"https://github.com/arundada9000/typescript","last_synced_at":"2026-07-01T02:05:16.598Z","repository":{"id":366187226,"uuid":"1275271931","full_name":"arundada9000/typescript","owner":"arundada9000","description":"TypeScript Study Notes  A personal TypeScript learning journey by Arun Neupane. This repository contains hands-on examples covering TypeScript fundamentals, type narrowing, unions, literal types, classes, inheritance, and more. Concepts are explained through simple, chai-themed examples to make learning practical, memorable, and fun.","archived":false,"fork":false,"pushed_at":"2026-06-20T17:39:44.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-20T18:04:29.997Z","etag":null,"topics":["arundada9000","arunneupane","learning-by-doing","ts","type-annotations","type-guard","type-inference","types","typescript","union"],"latest_commit_sha":null,"homepage":"https://arun.sajilodigital.com.np","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/arundada9000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-20T13:28:32.000Z","updated_at":"2026-06-20T17:39:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/arundada9000/typescript","commit_stats":null,"previous_names":["arundada9000/typescript"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/arundada9000/typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arundada9000%2Ftypescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arundada9000%2Ftypescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arundada9000%2Ftypescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arundada9000%2Ftypescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arundada9000","download_url":"https://codeload.github.com/arundada9000/typescript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arundada9000%2Ftypescript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34989821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"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":["arundada9000","arunneupane","learning-by-doing","ts","type-annotations","type-guard","type-inference","types","typescript","union"],"created_at":"2026-07-01T02:05:15.835Z","updated_at":"2026-07-01T02:05:16.589Z","avatar_url":"https://github.com/arundada9000.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learning TypeScript\n\nA personal journey learning TypeScript through hands-on examples with a chai/tea theme.\n\n## Topics Covered\n\n### Entry Point\n- Basic greeting function with typed params (`index.ts`)\n\n### Basics\n- Type inference with `let` and `const` (`basics/variables.ts`)\n- Literal types (`basics/literals.ts`)\n- Union types (`basics/unions.ts`)\n- `any` vs `unknown` (`basics/any-unknown.ts`)\n- Type assertions (`basics/type-assertions.ts`)\n- Object types, structural typing, and excess property checks (`basics/object-types.ts`)\n- Object arrays, `readonly`, and `reduce` (`basics/order-calculation.ts`)\n\n### Arrays \u0026 Enums\n- Array types, tuples, and enums (`arrays/arrays.ts`)\n\n### Functions\n- Function parameters, return types, and `void` (`functions/function.ts`)\n- `typeof` type narrowing (`functions/typeof-narrowing.ts`)\n- `instanceof` type narrowing (`functions/instanceof-narrowing.ts`)\n- Literal type narrowing (`functions/literal-narrowing.ts`)\n- Optional parameters (`functions/optional-params.ts`)\n- User-defined type predicates (`functions/type-predicates.ts`)\n- `never` type and exhaustiveness checking (`functions/never-type.ts`)\n\n### Generics\n- Basic generics (`generics/first-item.ts`)\n- Generic `wrapInArray` function (`generics/wrap-in-array.ts`)\n- Multiple type parameters with `pair` (`generics/pair.ts`)\n- Generic interfaces (`generics/generic-interface.ts`)\n- Generic `fetchData` with `Promise\u003cT\u003e` (`generics/generic-fetch.ts`)\n- `keyof` constraint (`generics/keyof-constraint.ts`)\n- `Omit` utility type (`generics/omit-utility.ts`)\n- `Partial` utility type (`generics/partial-utility.ts`)\n- `Pick` utility type (`generics/pick-utility.ts`)\n\n### Interfaces\n- Basic, callable, method and index signatures (`interface/basic.ts`)\n- Declaration merging (`interface/declaration-merging.ts`)\n- Interface `extends` (`interface/extends.ts`)\n\n### OOP (Object-Oriented Programming)\n- Classes and inheritance (`oop/classes.ts`)\n- Interfaces and `implements` (`oop/interfaces.ts`)\n- Object type aliases (`oop/type-aliases.ts`)\n- Intersection types (`oop/intersection-types.ts`)\n- Optional and `readonly` properties (`oop/optional-readonly.ts`)\n- Discriminated unions (`oop/discriminated-unions.ts`)\n- `in` operator narrowing (`oop/in-operator.ts`)\n- Error handling with try/catch (`oop/try-catch.ts`)\n\n### Web Requests\n- Fetch API with typed response (`webRequest/fetchRequest.ts`)\n- Axios with typed response and error handling (`webRequest/axiosRequest.ts`)\n\n### React + TypeScript\n- React project with Vite (`react-ts/`) - components, hooks, typed props\n\n## Setup\n\n```bash\nnpm install\nnpx tsc\n```\n\n## Author\n\n- **Arun Neupane** - [arunneupane.netlify.app](https://arunneupane.netlify.app)\n- GitHub: [@arundada9000](https://github.com/arundada9000)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farundada9000%2Ftypescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farundada9000%2Ftypescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farundada9000%2Ftypescript/lists"}