NIHKLAS

January 5, 2026, 3:08 pm

Wer kam eigentlich bei Typescript auf die Idee eine optionale Property mit einem Fragezeichen an dER PROPERTY zu makieren??? Warum nicht ab Datentyp??!!??

test?: string;
vs.
test: ?string;

WTF

Shepado's profile picture
Heinzi's profile picture

Liked by Shepado and

Comments

You must be logged in to comment.


Kafka

January 7, 2026, 10:32 am

Also ich finde das irgendwie cute. Das hat für mich den Vibe als wäre die Property bisl unsicher und zurückhaltend

test? 👉👈

NIHKLAS's profile picture
Random_Nitro_Crate's profile picture

Liked by NIHKLAS and