https://github.com/zeyu-li/typescript_template
A simple TypeScript template, nothing more, nothing less :pencil:
https://github.com/zeyu-li/typescript_template
typescript-template
Last synced: over 1 year ago
JSON representation
A simple TypeScript template, nothing more, nothing less :pencil:
- Host: GitHub
- URL: https://github.com/zeyu-li/typescript_template
- Owner: Zeyu-Li
- License: mit
- Created: 2019-12-14T07:49:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-19T01:17:56.000Z (about 3 years ago)
- Last Synced: 2025-01-22T22:09:18.764Z (over 1 year ago)
- Topics: typescript-template
- Language: TypeScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# TypeScript (ts) Template
## About
This TypeScript Template is a starter file for TypeScript project. TypeScript is basically the strongly typed version of JavaScript.
## Use
To activate TypeScript, go to the json file and enter
```powershell
tsc -w
```
in terminal
## Required
* Node.js
* typescript (installed using npm)
## Code
```typescript
function main() {
// choose any number
let number: number = 1;
// prints
console.log();
// return statement
return 0;
}
// main function call
main();
```
## Licence
The rules for copy and distributing this project licence are
outlined in the licence.txt file.
This project is under an MIT licence