Ensures that the configuration property does not accept multiple types.
{
"@o3r/no-multiple-type-configuration-property": [
"error",
{
"supportedInterfaceNames": ["NestedConfiguration", "Configuration", "CustomConfigurationInterface"]
}
]
}
export interface MyFirstConfig extends Configuration {
myProp: string;
}
export interface MyConfig extends Configuration {
myProp: string | number;
}