function set( fmt ) {
	/* eslint-disable no-invalid-this */
	if ( indexOf( FORMATS, fmt ) === -1 ) {
		throw new TypeError( format( 'invalid assignment. Unrecognized/unsupported `%s`. Must be one of the following: "%s". Value: `%s`.', 'format', FORMATS.join( '", "' ), fmt ) );
	}
	if ( fmt !== this._renderFormat ) {
		debug( 'Current value: %s.', this._renderFormat );

		this._renderFormat = fmt;
		debug( 'New value: %s.', this._renderFormat );

		this.emit( 'change' );
	}
}
Sets the render format.

@private
@param {string} fmt - format
@throws {TypeError} must be a recognized render format