added optional parameters to "websockify" and exported interfaces (#27165)
added optional parameters to "websockify" and exported interfaces (#27165)

* added optional parameters to "websockify" and exported interfaces

* Update index.d.ts

removed redundant export keywords

magny/DefinitelyTyped,mcliment/DefinitelyTyped,dsebastien/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,AgentME/DefinitelyTyped,borisyankov/DefinitelyTyped,AgentME/DefinitelyTyped,georgemarshall/DefinitelyTyped,magny/DefinitelyTyped,borisyankov/DefinitelyTyped,AgentME/DefinitelyTyped,georgemarshall/DefinitelyTyped,markogresak/DefinitelyTyped,AgentME/DefinitelyTyped