mirror of
https://github.com/strapi/strapi.git
synced 2025-09-27 09:25:46 +00:00
Fix RouterConfig type
This commit is contained in:
parent
15127e84b0
commit
ef02b3fc6a
@ -30,7 +30,7 @@ type CollectionTypeRouterConfig = {
|
|||||||
|
|
||||||
type RouterConfig = {
|
type RouterConfig = {
|
||||||
prefix?: string;
|
prefix?: string;
|
||||||
only: string[];
|
only?: string[];
|
||||||
except?: string[];
|
except?: string[];
|
||||||
config: SingleTypeRouterConfig | CollectionTypeRouterConfig;
|
config: SingleTypeRouterConfig | CollectionTypeRouterConfig;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user