[@types/dnssd] More fixes according the original source (#27877)
[@types/dnssd] More fixes according the original source (#27877)

* Another set of fixes

* Fix lint

* Fix support for object type

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