Given this function:
def array_returner():
return ["hello", "there"]
How would I typehint that this function returns an array of strings, without importing List (and using the List[str]
syntax)?
Given this function:
def array_returner():
return ["hello", "there"]
How would I typehint that this function returns an array of strings, without importing List (and using the List[str]
syntax)?