Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in union-types
Variable of union type causes error in switch statement
May 26, 2026
javascript
typescript
switch-statement
union-types
How do I unpack a JSON value into a tagged union type?
May 20, 2026
json
decode
elm
union-types
Is union type available in PowerShell
May 17, 2026
arrays
powershell
union-types
Typescript Omit seems to transform an union into an intersection [duplicate]
May 15, 2026
javascript
typescript
union-types
intersection-types
Does Typescript allow mutations that break type safety?
May 14, 2026
typescript
type-safety
union-types
mutability
What does it mean for a type to distribute over unions?
May 12, 2026
typescript
union-types
conditional-types
type-theory
typescript union type with various interfaces
May 06, 2026
typescript
tslint
union-types
typescript Property 'options' does not exist on type of Union type
Apr 21, 2026
angular
typescript
union-types
React props - struggling with discriminating union types
Apr 20, 2026
reactjs
typescript
react-proptypes
discriminated-union
union-types
When to use type alias vs. single-value union type in Elm
Apr 09, 2026
elm
type-alias
union-types
Distinguish union type with type parameter in Scala 3
Mar 29, 2026
scala
union-types
scala-3
What's the point of union type A | B where B is a subclass of A?
Mar 08, 2026
typescript
union-types
Typescript - Pass one element of UnionType to function but not both
Mar 08, 2026
typescript
union-types
Can Typescript guard / discriminate based on field presence (undefined / absent) rather than value?
Feb 20, 2026
typescript
undefined
discriminated-union
union-types
type-narrowing
How to narrow a list of unions?
Feb 08, 2026
python
mypy
python-typing
union-types
narrowing
Confused about type declarations in Julia
Feb 04, 2026
performance
struct
types
julia
union-types
Destructure/access a property that may or may not exist on an object union type
Jan 28, 2026
typescript
destructuring
union-types
object-destructuring
Conflicting types in some constituents
Jan 03, 2026
typescript
union-types
Older Entries »