Fixing type defitions
Created by: adripanico
After commit 042e07df, the TypeScript transpiler fails since the type definitions wrongly includes a default value for the priority
parameter, throwing the error TS1039: Initializers are not allowed in ambient contexts
.