NativeType
@3dverse/livelink / NativeType
Type Alias: NativeType<T>
NativeType<
T
>:T
&object
Defined in: node_modules/@3dverse/livelink.core/dist/sources/types/utils.d.ts:17
A dummy type to enforce the instantiation of a type alias of a native type, such as string
or number
.
This is only to ensure that the alias type shows up in the generated documentation and in autocomplete.
Example:
type UUID = string;
A variable of type UUID
will show up as string
in the documentation.
type UUID = NativeType<string>;
A variable of type UUID
will show up as UUID
in the documentation.
Type declaration
_?
optional
_:never
Type Parameters
• T