Type fix for checkOrigin (#22925)
Type fix for checkOrigin (#22925)

checkOrigin can also be an array of allowed origins.
borisyankov/DefinitelyTyped,zuzusik/DefinitelyTyped,AgentME/DefinitelyTyped,zuzusik/DefinitelyTyped,AgentME/DefinitelyTyped,georgemarshall/DefinitelyTyped,one-pieces/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,arusakov/DefinitelyTyped,laurentiustamate94/DefinitelyTyped,markogresak/DefinitelyTyped,magny/DefinitelyTyped,borisyankov/DefinitelyTyped,dsebastien/DefinitelyTyped,chrootsu/DefinitelyTyped,rolandzwaga/DefinitelyTyped,zuzusik/DefinitelyTyped,AgentME/DefinitelyTyped,chrootsu/DefinitelyTyped,rolandzwaga/DefinitelyTyped,mcliment/DefinitelyTyped,dsebastien/DefinitelyTyped,magny/DefinitelyTyped,AgentME/DefinitelyTyped,arusakov/DefinitelyTyped,arusakov/DefinitelyTyped,georgemarshall/DefinitelyTyped