v22.1.1
Changes
- Export
Routeras both a function and a type, mirroringProtectedRouter. Downstream consumers can now useRouteras a type annotation:const r: Router = Router();.
Router as both a function and a type, mirroring ProtectedRouter. Downstream consumers can now use Router as a type annotation: const r: Router = Router();.