PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@hashgraph/sdk/lib/network

Просмотр файла: SemanticVersion.d.ts

export default class SemanticVersion {
    /**
     * @internal
     * @param {HashgraphProto.proto.ISemanticVersion} version
     * @returns {SemanticVersion}
     */
    static _fromProtobuf(version: HashgraphProto.proto.ISemanticVersion): SemanticVersion;
    /**
     * @param {Uint8Array} bytes
     * @returns {SemanticVersion}
     */
    static fromBytes(bytes: Uint8Array): SemanticVersion;
    /**
     * @private
     * @param {object} props
     * @param {number} props.major
     * @param {number} props.minor
     * @param {number} props.patch
     */
    private constructor();
    /** @readonly */
    readonly major: number;
    /** @readonly */
    readonly minor: number;
    /** @readonly */
    readonly patch: number;
    /**
     * @internal
     * @returns {HashgraphProto.proto.ISemanticVersion}
     */
    _toProtobuf(): HashgraphProto.proto.ISemanticVersion;
    /**
     * @returns {Uint8Array}
     */
    toBytes(): Uint8Array;
}
import * as HashgraphProto from "@hashgraph/proto";

Выполнить команду


Для локальной разработки. Не используйте в интернете!