immutable-plugin-system - v0.3.0
Preparing search index...
index
NonEmptyString
Type Alias NonEmptyString<S>
NonEmptyString
:
""
extends
S
?
never
:
S
Compile-time erasure of the empty string literal from a string type.
Type Parameters
S
extends
string
=
string
Remarks
For the broad
string
, the empty string remains allowed at the type level for ergonomics; runtime guards still reject empty keys where applicable.
For literal unions,
''
is excluded precisely.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
immutable-plugin-system - v0.3.0
Loading...
Compile-time erasure of the empty string literal from a string type.