diff --git a/tribune-core/src/main/kotlin/com/sksamuel/tribune/core/Parsers.kt b/tribune-core/src/main/kotlin/com/sksamuel/tribune/core/Parsers.kt index 582e983..272a2d7 100644 --- a/tribune-core/src/main/kotlin/com/sksamuel/tribune/core/Parsers.kt +++ b/tribune-core/src/main/kotlin/com/sksamuel/tribune/core/Parsers.kt @@ -25,12 +25,14 @@ object Parsers { /** * An identity [Parser] for nullable doubles. */ - val nullableDouble : Parser = Parser() + val nullableDouble: Parser = Parser() /** * An identity [Parser] for nullable floats. */ - val nullableFloat : Parser = Parser() + val nullableFloat: Parser = Parser() + + fun mapOf() = Parser>() /** * A [Parser] for nullable types, which returns the input if not null, or an error if null.