-
-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adjust PlatformRouterSettings.ts
- Loading branch information
1 parent
bec7ce3
commit a61e6ae
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
10 changes: 4 additions & 6 deletions
10
packages/platform/common/src/config/interfaces/PlatformRouterSettings.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
import {JsonMapperGlobalOptions} from "@tsed/json-mapper"; | ||
|
||
export interface PlatformJsonMapperSettings extends JsonMapperGlobalOptions {} | ||
export interface PlatformRouterSettings { | ||
appendChildrenRoutesFirst?: boolean; | ||
} | ||
|
||
declare global { | ||
namespace TsED { | ||
interface Configuration extends Record<string, any> { | ||
router?: { | ||
appendChildrenRoutesFirst?: boolean; | ||
} | ||
router?: PlatformRouterSettings; | ||
} | ||
} | ||
} |