├── README.md ├── index.html ├── index.ts ├── package.json ├── style.css └── tsconfig.json /README.md: -------------------------------------------------------------------------------- 1 | # TypeScript-Advanced-Tips 2 | 3 | [Edit on StackBlitz ⚡️](https://stackblitz.com/edit/typescript-9pwq9a) -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 |
-------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- 1 | // Pretty self explanatory: 2 | 3 | interface Something { 4 | foo(): Something; 5 | bar(): Something; 6 | } 7 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "typescript", 3 | "version": "0.0.0", 4 | "private": true, 5 | "dependencies": {} 6 | } -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | h1, h2 { 2 | font-family: Lato; 3 | } -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "esnext" 4 | } 5 | } --------------------------------------------------------------------------------