{"id":18798636,"url":"https://github.com/liteobject/typescript-tutorial","last_synced_at":"2025-07-12T15:04:33.033Z","repository":{"id":192643020,"uuid":"687118575","full_name":"LiteObject/typescript-tutorial","owner":"LiteObject","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-04T16:54:30.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T18:26:23.874Z","etag":null,"topics":["javascript","typescript"],"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/LiteObject.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}},"created_at":"2023-09-04T16:51:02.000Z","updated_at":"2023-09-04T16:55:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"b336a289-674a-4db3-a41f-81a71ff2a6c6","html_url":"https://github.com/LiteObject/typescript-tutorial","commit_stats":null,"previous_names":["liteobject/typescript-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LiteObject/typescript-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiteObject%2Ftypescript-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiteObject%2Ftypescript-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiteObject%2Ftypescript-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiteObject%2Ftypescript-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiteObject","download_url":"https://codeload.github.com/LiteObject/typescript-tutorial/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiteObject%2Ftypescript-tutorial/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265009202,"owners_count":23697154,"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":["javascript","typescript"],"created_at":"2024-11-07T22:12:32.586Z","updated_at":"2025-07-12T15:04:32.982Z","avatar_url":"https://github.com/LiteObject.png","language":"TypeScript","readme":"# Basic TypeScript Tutorial\n\u003eTypeScript is a syntactic superset of JavaScript which adds static typing.\n\n## Data Types\n- `boolean`\n- `number` (Whole numbers and floating point values)\n- `string`\n- `bigint` (Whole numbers and floating point values, but allows larger negative and positive numbers than the `number` type.)\n- `symbol` (To create a globally unique identifier)\n- `any` (A special type that disables type checking and effectively allows all types to be used)\n- `unknown` (A safer alternative to `any`)\n- `never` (Effectively throws an error whenever it is defined)\n- `undefined` \u0026 `null` (These special types refer to the JavaScript primitives `undefined` and `null` respectively.)\n\n## Basic Commands\n\n### How to install `TypeScript`\n- `npm install typescript --save-dev`\n  - The compiler is installed in the `node_modules` directory and can be run with: `npx tsc`\n- `npm i -g typescript`\n  - The compiler is available globally, so `npx` is not necessary\n\n### How to initialize a TypeScript project\n- `tsc --init`\n- This command will generate a `tsconfig.json` file\n\n### How to use `tsc` to compile a file\n- `tsc index.ts`\n\n### How to use `node` cli to run js file\n- `node index`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliteobject%2Ftypescript-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliteobject%2Ftypescript-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliteobject%2Ftypescript-tutorial/lists"}