Make type(s) readonly properties of Collator/Decorator classes

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2021-06-01 11:15:52 +02:00
parent b9b26ec572
commit 455b97b127
6 changed files with 35 additions and 42 deletions
-1
View File
@@ -30,7 +30,6 @@ export default async function createPlugin({
const indexBuilder = new IndexBuilder({ logger, searchEngine });
indexBuilder.addCollator({
type: 'software-catalog',
defaultRefreshIntervalSeconds: 10,
collator: new DefaultCatalogCollator({ discovery }),
});