Preparing search index...
The search index is not available
Additional types and utils for TypeScript
type-plus
literalArray
Function literalArray
literal
Array
<
T
>
(
...
entries
)
:
T
[]
🦴
utilities
return an array whose items are restricted to the provided literals.
Type Parameters
T
extends
string
|
number
|
symbol
Parameters
Rest
...
entries
:
T
[]
Returns
T
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus - v8.0.0-beta.6
Loading...
🦴 utilities
return an array whose items are restricted to the provided literals.