{"id":19774696,"url":"https://github.com/fazt/typescript-course","last_synced_at":"2025-04-30T18:33:36.791Z","repository":{"id":21698582,"uuid":"93803783","full_name":"fazt/typescript-course","owner":"fazt","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-08T21:42:44.000Z","size":115,"stargazers_count":36,"open_issues_count":2,"forks_count":27,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T07:47:05.204Z","etag":null,"topics":["code","course","snippets","tutorial","typescript","visual-studio-code"],"latest_commit_sha":null,"homepage":null,"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/fazt.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}},"created_at":"2017-06-09T00:46:18.000Z","updated_at":"2024-02-22T01:03:39.000Z","dependencies_parsed_at":"2022-09-15T21:41:22.917Z","dependency_job_id":null,"html_url":"https://github.com/fazt/typescript-course","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fazt%2Ftypescript-course","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fazt%2Ftypescript-course/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fazt%2Ftypescript-course/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fazt%2Ftypescript-course/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fazt","download_url":"https://codeload.github.com/fazt/typescript-course/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224219441,"owners_count":17275477,"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":["code","course","snippets","tutorial","typescript","visual-studio-code"],"created_at":"2024-11-12T05:13:39.455Z","updated_at":"2024-11-12T05:13:40.032Z","avatar_url":"https://github.com/fazt.png","language":"TypeScript","readme":"## TypeScript Course\n\n## Requirements\n- Optional: HTML, CSS, JS\n- Node.js and Npm\n- Console / Terminal Usage\n\n# Useful Commands\n- to transpile: `tsc myfile.ts`\n    - all files: `tsc *.ts`\n    - target Option: `--target ES5`\n- to execute your transpiled file: `node myfile.js`, because is js you can use it on whatever js enviroment\n\n## Considerations\n- Ts will generate an output JS, even with errors\n\n## More Info\n- (Typescript Github)[]\n    - typescript components\n- compile or transpile?\n\n## Tools: \n- [TS PlayGround](https://www.typescriptlang.org/play/index.html)\n- Intellisense\n- typescript(npm or yarn)\n- Visual Studio\n- vsCode\n\n## You can Learn from this Code\n    - transpile a .ts file to .js file\n    - basics\n        - hello world\n        - strong typing\n        - syntatic sugar\n        - types or optional static type annotation\n        - scope variables\n        - avoid type juggling\n        - type coercion\n    - types\n    - ts added optional static type annotation to js\n    - transform it in a strongly typed programming language\n- functions\n- objects\n- ambient declarations\n\n- interfaces\n- clases: Person.ts\n- enums\n- modules\n- generic types\n\n- file extension .d.ts, third libs compatibility\n\n- type coercion\n- tsconfig.json\n\n## Appendix\n- how to debuggin ts file with vs Code\n- configure tsconfig.json\n- how to configure ts compiler with visual studio Code\n    - go to \"Open User Settings\"\n    - go to settings.json at \"typescript.sdk\", by default the property has the value null\n    - obtain where is installed npm modules: `npm root -g`\n    - append the path with /typescript/lib as SDK path\n- to configure a build task\n    - to configure Tasks: `Ctrl + shift + P` \u003e Tasks \u003e Typescript\n    - to execute: `Ctrl/cmd + Shift + B`\n- how to ignore js outputs from ts\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffazt%2Ftypescript-course","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffazt%2Ftypescript-course","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffazt%2Ftypescript-course/lists"}