Class H5PVersion<TVersionType>
Type Parameters
- TVersionType extends string | VersionObject = string
Constructors
constructor
- new H5PVersion<TVersionType>(version): H5PVersion<TVersionType>
Type Parameters
- TVersionType extends string | VersionObject = string
Properties
major
major: number
minor
minor: number
Methods
toString
- toString(): TVersionType
Returns the version as either a string or a version object, depending on the type of the version the instance was constructed with.