Class Version
- 命名空间
- easyar.ema
Version ema 版本。
Version
备注
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Version class.
属性
build
build
get build(): number;
major
major
get major(): number;
方法
minor
minor
get minor(): number;
返回
parse(version)
解析版本字符串,失败时抛出异常
static parse(version: string): Version;
参数
version
返回
toString()
转为string
toString(): string;