Category Archives: Без рубрики

Typescript. Generics

// — extends for generics creation new instances of class

Posted in Без рубрики | Comments Off on Typescript. Generics

Typescript. Type Assertions

as it was mentioned in DataTypes post there are 2 ways of assertions through as and <type> operators lets look on ascending and descending assertions…

Posted in Без рубрики | Comments Off on Typescript. Type Assertions

Typescript. Static methods and fields

Here is the same idea as in C#, Java and other langs. Static methods are methods that more devoted to class rather than to instance of class.

Posted in Без рубрики | Comments Off on Typescript. Static methods and fields

Typescript. get / set modifiers

works only with ecmaScript2015

Posted in Без рубрики | Comments Off on Typescript. get / set modifiers

Typescript. Access Modifiers

public // by default private // only inside class protected // only inside class and its inheritors readonly // readonly 🙂 a little bit of ts sugar…. this code will be similar to that one and the same will be … Continue reading

Posted in Без рубрики | Comments Off on Typescript. Access Modifiers

Typescript. Abstract classes and Interfaces

ABSTRACT CLASSES EXAMPLE

Posted in Без рубрики | Comments Off on Typescript. Abstract classes and Interfaces

TypeScript. Class Inheritance

Posted in Без рубрики | Comments Off on TypeScript. Class Inheritance

Typescript. Class

Posted in Без рубрики | Comments Off on Typescript. Class

Typescript. Functions

with defining data types (e.g. annotations) without annotations arrow functions

Posted in Без рубрики | Comments Off on Typescript. Functions

Typescript. Datatypes

VOID, UNKKNOWN, NULL, UNDEFINED, ANY, NEVER TYPES COMPLEX TYPES more info in docs everyday types from the handBook

Posted in Без рубрики | Comments Off on Typescript. Datatypes