[Gradle, JS] Add doc into NpmRange
^KT-41054 fixed
This commit is contained in:
+4
@@ -11,6 +11,10 @@ import org.jetbrains.kotlin.gradle.targets.js.npm.NpmRangeVisitor.Companion.LT
|
|||||||
import org.jetbrains.kotlin.gradle.targets.js.npm.NpmRangeVisitor.Companion.LTEQ
|
import org.jetbrains.kotlin.gradle.targets.js.npm.NpmRangeVisitor.Companion.LTEQ
|
||||||
import org.jetbrains.kotlin.gradle.utils.toListOrEmpty
|
import org.jetbrains.kotlin.gradle.utils.toListOrEmpty
|
||||||
|
|
||||||
|
/**
|
||||||
|
[startVersion] or [endVersion] equaling null means Infinite on appropriate edge,
|
||||||
|
In this case appropriate [startInclusive] or [endInclusive] do no matter
|
||||||
|
*/
|
||||||
data class NpmRange(
|
data class NpmRange(
|
||||||
val startVersion: SemVer? = null,
|
val startVersion: SemVer? = null,
|
||||||
val startInclusive: Boolean = false,
|
val startInclusive: Boolean = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user