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