Skip to content

Commit 86b0973

Browse files
authored
feat(daffio): add DaffioRoute type (#2984)
1 parent 07a6955 commit 86b0973

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { Route } from '@angular/router';
2+
3+
import { DaffDocKind } from '@daffodil/docs-utils';
4+
import { DaffRouteWithNamedViews } from '@daffodil/router';
5+
6+
/**
7+
* A route config that possibly contains different kinds of data used in the application.
8+
*/
9+
export interface DaffioRoute extends Route {
10+
data?: Route['data']
11+
& DaffRouteWithNamedViews['data']
12+
& {
13+
docKind?: DaffDocKind;
14+
};
15+
}

0 commit comments

Comments
 (0)