Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

Whoa, @types/react-router-5 does not exist yet

But that means it is now yours!

$ mkdir @types/react-router-5
$ cd @types/react-router-5
$ yarn init

Make your package

$ yarn publish