core-api: deprecate app.getRoutes

This commit is contained in:
Patrik Oldsberg
2021-02-22 13:21:33 +01:00
parent c7a4b73f7f
commit 95ef3b3c06
+2
View File
@@ -187,6 +187,8 @@ export type BackstageApp = {
/**
* Routes component that contains all routes for plugin pages in the app.
*
* @deprecated Registering routes in plugins is deprecated and this method will be removed.
*/
getRoutes(): JSX.Element[];
};