Constructors

Properties

build: string | number
major: string | number
minor: string | number
patch: string | number

Methods

  • Separates at major.minor string into {major: Number, minor: Number} object

    Parameters

    • versionString: string

      a string in the format of major.minor like '3.2'

    Returns {
        major: null | number;
        minor: null | number;
    }

    • major: null | number
    • minor: null | number