fixed fromUri() return type (#50920)
fixed fromUri() return type (#50920)

Method fromUri() returns `undefined` for unmatched routes.
E.g. https://github.com/geraintluff/uri-templates/blob/master/uri-templates.js#L362
georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,markogresak/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped