TypeScript Tutorial #4 - Unions [DEUTSCH/GERMAN]

preview_player
Показать описание
In diesem Tutorial geht's um Unions.

* *Meine Website mit allen anderen Kanälen und Newsletter* *:

_Discord:_

_Unterstützt mich - Danke!:_
Рекомендации по теме
Комментарии
Автор

Zusammenfassung #4 Unions

datentyp[] = erstellt ein Array des angebenen Datentyps

datentyp1|datentyp2= entweder der eine oder der andere Datentyp

dermathes
Автор

das ist ja dann ziemlich nützlich für api anfragen, dann kann man zwei modelle erstelllen eines für request success und eins für request failed und somit quasi den response mit einer variable aber zwei möglichen ausgängen speichern.

fumano
Автор

Bitte theme dein gnome :) .
Mich juckt es unter den Fingernägeln, am liebsten würde ich direkt hinrenen und selber machen. :D
Das populäre Arc Theme sieht ziemlich gut aus. Und papyrus und paper (sehen fast identisch aus) sind gute icon packs.

peterwacker
Автор

Hello Guys, im New to TypeScript, we have it in the University now and the Prof hold 2 sessions, and gave us a Homework to Build a Page for a Personal Management.

a Website to use CRUD, he told us that the Person must be Created, Read, Updated and Deleted. A Simple Site.

All we can use is Webstorm, Typescript, NodeJS is Installed and Bootstrap is installed. Sorry for my English, i can also Speak German.

Im Watching Tutorials but i cant find specific what can help in my case, im kinda Lost :( is there anybody who can help a Student to Build this page and also Explain it if possible? would Prefer German but English is also ok.

Kind Regards

theaestheticbody
Автор

funktioniert so nicht mehr (TypeScript 2.6.1): es gibt den Fehler: Subsequent variable declarations must have the same type. Variable 'msg' must be of type 'string', but here has type 'string | number'.

combel