Skip to content

Commit 334cbce

Browse files
authored
Export AdditionalRouteAttributes interface (#174)
1 parent a02c01d commit 334cbce

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/common/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export type InvariantRoute = {
238238
/**
239239
* Custom additional attributes that may be present in each route definition.
240240
*/
241-
interface AdditionalRouteAttributes {}
241+
export interface AdditionalRouteAttributes {}
242242

243243
export type Route = InvariantRoute & {
244244
/** The component to render on match, typed explicitly */

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export {
3838
} from './common/utils';
3939

4040
export type {
41+
AdditionalRouteAttributes,
4142
BrowserHistory,
4243
CreateRouterContextOptions,
4344
FindRouterContextOptions,

0 commit comments

Comments
 (0)