adminforth 1.2.90 → 1.2.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -474,7 +474,7 @@ export type AdminForthConfigMenuItem = {
|
|
|
474
474
|
* Optional callback which will be called before rendering the menu for each item.
|
|
475
475
|
* Result of callback if not null will be used as a small badge near the menu item.
|
|
476
476
|
*/
|
|
477
|
-
badge?: string | ((user: AdminUser) => string),
|
|
477
|
+
badge?: string | ((user: AdminUser) => Promise<string>),
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
|