Skip to content

Commit

Permalink
Add type annotation for Schemas.map
Browse files Browse the repository at this point in the history
  • Loading branch information
grouzen committed Dec 11, 2023
1 parent 65ddfb1 commit b2f36a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ object Schemas {

def record(fields: Chunk[Type]): RecordDef = RecordDef(fields)
def list(element: Type): ListDef = ListDef(element)
def map(key: Type, value: Type) = MapDef(key, value)
def map(key: Type, value: Type): MapDef = MapDef(key, value)

}

0 comments on commit b2f36a9

Please sign in to comment.