{"id":26038321,"url":"https://github.com/juniorreisx/introduction-to-typescript","last_synced_at":"2026-04-17T23:04:05.776Z","repository":{"id":280361996,"uuid":"941735150","full_name":"JuniorReisx/Introduction-to-TypeScript","owner":"JuniorReisx","description":"Basic TypeScript","archived":false,"fork":false,"pushed_at":"2025-03-03T00:43:14.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T01:31:01.835Z","etag":null,"topics":["class","function","object","typescript","variables"],"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/JuniorReisx.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":"2025-03-03T00:37:38.000Z","updated_at":"2025-03-03T00:43:17.000Z","dependencies_parsed_at":"2025-03-03T01:31:03.244Z","dependency_job_id":"c656ac3d-3eb7-4d63-aaf5-2671058dae2d","html_url":"https://github.com/JuniorReisx/Introduction-to-TypeScript","commit_stats":null,"previous_names":["juniorreisx/introduction-to-typescript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuniorReisx%2FIntroduction-to-TypeScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuniorReisx%2FIntroduction-to-TypeScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuniorReisx%2FIntroduction-to-TypeScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuniorReisx%2FIntroduction-to-TypeScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuniorReisx","download_url":"https://codeload.github.com/JuniorReisx/Introduction-to-TypeScript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242361836,"owners_count":20115411,"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":["class","function","object","typescript","variables"],"created_at":"2025-03-07T09:14:18.873Z","updated_at":"2026-04-17T23:04:05.675Z","avatar_url":"https://github.com/JuniorReisx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n```markdown\n# TypeScript Basics Project\n\nThis project demonstrates the fundamentals of TypeScript, showcasing various concepts such as primitive types, functions, arrays, classes, and more.\n\n## Features\n\n- **Primitive Types**: `string`, `number`, `boolean`, `null`, `undefined`, `any`, `void`, `never`\n- **Objects and Interfaces**: Creating and using interfaces with objects.\n- **Arrays and Tuples**: Type-safe arrays and tuples.\n- **Functions**: Functions with different argument types, async functions, and function overloading.\n- **Classes**: Implementing basic classes with methods and access modifiers.\n- **Working with Dates**: Using the `Date` object in TypeScript.\n- **Array Methods**: Demonstrating common array methods like `map`, `filter`, `reduce`, `find`, `some`, and `every`.\n\n## Installation\n\nTo get started with this project, clone it to your local machine:\n\n```bash\ngit clone https://github.com/your-username/your-repository.git\n```\n\nNavigate to the project folder and install dependencies:\n\n```bash\ncd your-repository\nnpm install\n```\n\n## Running the Project\n\nTo run the project, use the following command:\n\n```bash\nnpm run start\n```\n\nThis will execute the code and print the results in the console.\n\n## Code Structure\n\n- **Primitive Types**: Demonstrates the basic types in TypeScript.\n- **Interfaces**: Defines `Pessoa`, `Carro`, and `Viagem` interfaces and shows how to create objects using these interfaces.\n- **Functions**: Examples of various functions such as a simple sum function, async function, and functions with union types.\n- **Classes**: The `Character` class and `Person` class with access modifiers and inheritance.\n\n## Example Output\n\n```bash\nJonh attacks with 100 power!\nLigando para 999999999\nEndereço do CEP 12345-678: Rua X, Bairro Y\nJoão possui um carro da marca Fiat\n1 2 3 4 5 JONH true\n```\n\n## Contributing\n\nFeel free to fork the repository, create issues, and submit pull requests if you find any bugs or have ideas for improvements.\n\n## License\n\nThis project is open source and available under the [MIT License](LICENSE).\n```\n\nYou can replace `your-username` and `your-repository` with your actual GitHub username and repository name.\n\nLet me know if you need any changes or additions!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuniorreisx%2Fintroduction-to-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuniorreisx%2Fintroduction-to-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuniorreisx%2Fintroduction-to-typescript/lists"}