+doc #15537 add Typed Router pattern

Resolves #15537

(That file is not run btw, but as an example it should be surrounded with proper code I think, so people who look it up know what to do :) -- fixed)