{"id":26517459,"url":"https://github.com/quickheaven/typescript-masterclass-react-node","last_synced_at":"2026-04-13T15:31:22.610Z","repository":{"id":281943446,"uuid":"946957921","full_name":"quickheaven/typescript-masterclass-react-node","owner":"quickheaven","description":"TypeScript Masterclass 2025 Edition - React + NodeJS Project","archived":false,"fork":false,"pushed_at":"2025-03-30T21:54:47.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T22:28:30.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/quickheaven.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-12T00:03:29.000Z","updated_at":"2025-03-30T21:54:51.000Z","dependencies_parsed_at":"2025-03-12T01:19:40.949Z","dependency_job_id":"54ef06a0-0687-4b8e-b463-46c9788f203c","html_url":"https://github.com/quickheaven/typescript-masterclass-react-node","commit_stats":null,"previous_names":["quickheaven/typescript-masterclass-react-node"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quickheaven/typescript-masterclass-react-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quickheaven%2Ftypescript-masterclass-react-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quickheaven%2Ftypescript-masterclass-react-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quickheaven%2Ftypescript-masterclass-react-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quickheaven%2Ftypescript-masterclass-react-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quickheaven","download_url":"https://codeload.github.com/quickheaven/typescript-masterclass-react-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quickheaven%2Ftypescript-masterclass-react-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31759214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-03-21T08:20:20.733Z","updated_at":"2026-04-13T15:31:22.602Z","avatar_url":"https://github.com/quickheaven.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript Masterclass 2025 Edition - React + NodeJS Project\n\n[Udemy](https://www.udemy.com/course/typescript-course/)\n\n\n## Section 1: TypeScript Introduction\n```\n$ tsc index.ts\n```\n\n```\n$ node index.js\n```\n\n```\n$ npx tsc index.js\n```\nmost recent executable is picked up from npm. if you have TypeScript 5.3 running on your computer and the latest executable is 5.7 on npm, then tsc is going to compile using 5.7.\n\nThe ts config file is not respected, and the version of TypeScript also changes.\n\n```\n$ tsc --init\n```\n\n```\n$ tsc watch\n```\n\n## Section 2: Primitive Types\nIn Javascript, a primitive type is a data that is not an object and has no methods or properties. A primitive value is represented directly at the lowest level of the language implementation.\n\nPrimitive Types in Javascript\nstring\tnumber\t\tboolean\nnull\tundefined\tBigint\n\t\tSymbol\n\nAny expression that resolves as a string is considered as type of string by TypeScript. \\\nAny expression that resolves into a number is also considered as a number type by TypeScript. \\\nAny expression that resolves into a boolean is also considered as a boolean type by TypeScript.\n\nAny expression that evaluates to a bigInt is also a bigInt itself.\nbigInt cannot be generated with floating point numbers.\nbigInt do not have overlaps with number.\n\n## Section 3 Exploring TypeScript's Type System\n\n**Any Type** is the most liberal type. Equivalent to setting Javascript behavior. Avoid the use of any.\n\n**Unknown Type** means that the type of value is not known right now.\n\n**Type Alias** is a custom type that you declare for yourself, and is not a default type, which is offerred by TypeScript.\n\n### Inference, Annotation, Duck Typing and Declaration\n\n**Duck Typing** - If it looks like a duck and quacks like a duck, it's a duck.\n\n**Declaration** - whenever you declare your own types, that is declaration of types.\n```type CustomString = string;```\n\n**Annotation** - Whenever you annotate or assign types to a variable.\n```let firstName: string = \"John\";```\n__(annotating the first name as string)__\n\n**Inference** - When TypeScript judges or is able to infer the correct type of a variable or a declaration.\n\n**Union Types** is a kind of type which can either be a string or it can be a number.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquickheaven%2Ftypescript-masterclass-react-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquickheaven%2Ftypescript-masterclass-react-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquickheaven%2Ftypescript-masterclass-react-node/lists"}