arktypea
arktype17mo ago
PIat

Get type without constraints

Hello! inferAmbient retuns types with constraints like moreThanLength<0>, which when I try to access values to, I get Type 'string' is not assignable to type 'moreThanLength<0>'.

Is it possible to extract a more basic type?
Was this page helpful?