specify return type as void python code example
Example: python typing void function
def function(param: str) -> None:
# A function that doesn't return anything,
# has None as return type.
print("hey")
def function(param: str) -> None:
# A function that doesn't return anything,
# has None as return type.
print("hey")