{"id":22214114,"url":"https://github.com/harshsinghmumbai/typescript_language_basic_level","last_synced_at":"2025-09-07T07:05:33.190Z","repository":{"id":244431207,"uuid":"811413653","full_name":"harshsinghmumbai/TypeScript_language_Basic_level","owner":"harshsinghmumbai","description":" In this repository, I have learned TypeScript at a basic level. This means that I have learned the key concepts of TypeScript that are commonly used in a codebase.","archived":false,"fork":false,"pushed_at":"2024-06-14T16:18:27.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T05:43:31.266Z","etag":null,"topics":["annotations","any-unknown","generic","interfaces","typescript-arrays","typescript-function","typescript-objects"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harshsinghmumbai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-06T14:51:15.000Z","updated_at":"2024-06-14T16:18:30.000Z","dependencies_parsed_at":"2024-06-14T18:09:04.318Z","dependency_job_id":null,"html_url":"https://github.com/harshsinghmumbai/TypeScript_language_Basic_level","commit_stats":null,"previous_names":["harshsinghmumbai/typescript_language_basic_level"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshsinghmumbai%2FTypeScript_language_Basic_level","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshsinghmumbai%2FTypeScript_language_Basic_level/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshsinghmumbai%2FTypeScript_language_Basic_level/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshsinghmumbai%2FTypeScript_language_Basic_level/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshsinghmumbai","download_url":"https://codeload.github.com/harshsinghmumbai/TypeScript_language_Basic_level/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245409649,"owners_count":20610574,"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","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":["annotations","any-unknown","generic","interfaces","typescript-arrays","typescript-function","typescript-objects"],"created_at":"2024-12-02T21:13:27.917Z","updated_at":"2025-03-25T06:24:18.167Z","avatar_url":"https://github.com/harshsinghmumbai.png","language":"TypeScript","readme":" # Learn What matters in TypeScript lang(concepts which is maximum used codebase)\n\n\u003ch2\u003e\n \u003cpre\u003e\n  \u003ccode\u003e\n1. Type annotation \n eg :- \n let firstName : string = 45;\n let firstName : number = 45;\n let firstName : boolean = true;\n let firstName : undefined\n   \u003c/code\u003e\n  \u003c/pre\u003e\n\u003c/h2\u003e\n\n\u003ch2\u003e\n \u003cpre\u003e\n  \u003ccode\u003e\n2. Type Any \u0026 unknown both used in function (***parameter***)=\u003e{...}\n:Any = store any type of data without any type checking by the TypeScript compiler   \n:unknown = best used when you don't know the type of data being typed. To add a type later\n   \u003c/code\u003e\n  \u003c/pre\u003e\n\u003c/h2\u003e\n\n\u003ch2\u003e\n \u003cpre\u003e\n  \u003ccode\u003e\n3.TypeScript function \n function greet (value: number): string //compulsory// {\nconsole.log(\"Hello\"+ value)\n}\ngreet(12:number) //compulsory//\n  \u003c/code\u003e\n  \u003c/pre\u003e\n\u003c/h2\u003e\n\n\u003ch2\u003e\n \u003cpre\u003e\n  \u003ccode\u003e\n4. Type Array in TypeScript\neg: \nconst names : string [ ] = [\"a\", \"b\", \"c\", \"d];\n \u003c/code\u003e\n  \u003c/pre\u003e\n\u003c/h2\u003e\n\n\u003ch2\u003e\n \u003cpre\u003e\n  \u003ccode\u003e\n5. Type Object in TypeScript\n\ninterface CarProps {\n  type: string\n  model: string\n  year: number\n}\neg:  const car = {\n  type: \"Toyota\",\n  model: \"Corolla\",\n  year: 2009\n};\n\u003c/code\u003e\n  \u003c/pre\u003e\n\u003c/h2\u003e\n\n \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshsinghmumbai%2Ftypescript_language_basic_level","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshsinghmumbai%2Ftypescript_language_basic_level","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshsinghmumbai%2Ftypescript_language_basic_level/lists"}