This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Validator { | |
fun validate(request: Request) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
1 |xxxxxxxxxxx | |
2 |xxxxxxxx | |
3 |xxxxxx | |
4 |xxxx | |
5 |xxx | |
6 |xxx | |
7 |xx | |
8 |xxx | |
9 |xx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
1 |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
2 |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
3 |xxxxxxxxxxxxxxxxxxxx | |
4 |xxxxxxxxxxxxxx | |
5 |xxxxxxxxxxx | |
6 |xxxxxxxxxx | |
7 |xxxxxxxxx | |
8 |xxxxxxxxx | |
9 |xxxxxxxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 | | |
1 | | |
2 | | |
3 | | |
4 | | |
5 | | |
6 | | |
7 | | |
8 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
1 |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
2 |xxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
3 |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
4 |xxxxxxxxxxxxxxxxxxxxxxxxx | |
5 |xxxxxxxxxxxxxxxxxxxxx | |
6 |xxxxxxxxxxxxxxxxxx | |
7 |xxxxxxxxxxxxxxxxxx | |
8 |xxxxxxxxxxxxxxxxxx | |
9 |xxxxxxxxxxxxxxxxxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
1 |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
2 |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
3 |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
4 |xxxxxxxxxxxxxxxxxxxxxxxxx | |
5 |xxxxxxxxxxxxxxxxxxxxxxxx | |
6 |xxxxxxxxxxxxxxxxxxx | |
7 |xxxxxxxxxxxxxxxxxxx | |
8 |xxxxxxxxxxxxxxxxxx | |
9 |xxxxxxxxxxxxxxxxxxxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Vehicle { | |
public drive(): void { | |
console.log('chugga chugga'); | |
} | |
public honk(): void { | |
console.log('beep'); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const drink = { | |
color: 'brown', | |
carbonated: true; | |
sugar: 40 | |
} | |
// Creating tuple type. | |
// Used when we want to know what are any value of array. | |
// Easy way to sorting as value. | |
type Drink = [string, boolean, number]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const carMakers = ['ford','toyota','honda']; | |
const dates = [new Date(), new Date()]; | |
const carsByMake: string[][] = []; | |
// Help with inference when extracting values | |
const car = carMakers[0]; | |
const myCare = carMakers.pop(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const profile = { | |
name: 'Sırat', | |
age: 22, | |
coords: { | |
lat: 0, | |
lng: 15 | |
}, | |
setAge(age: number): void { | |
this.age = age; | |
} |
NewerOlder