@platecms/delta-types
v0.13.0
Published
This package contains various utility types.
Readme
types
This package contains a number of general utility types that are used throughout many projects.
Features
Constructor<T>which is a type that represents the constructor of a class.ContentValueTypeName<T>type which maps the typeTto the correspondingContentValueTypeName.ContentValueTypeNameswhich represents the names of the different types which a Content Value can be.ContentValueTypewhich represents the different types which a Content Value can be.HeaderKeysenum which represents the keys of custom request headers.PrimitiveConstructorunion which represents the constructors of the primitive types.Primitiveunion which represents the primitive types.ReturnConstructorFunctionfunction which returns the constructor of a function. This is useful for certain metadata applications.Stageenum which represents the different stages in which Content can be.isPrimitiveTypefunction which checks if a given constructor is a primitive constructor.
