Improved schemas in the project

This commit is contained in:
Alexander Cerutti
2019-12-05 23:55:28 +01:00
parent 2e94307723
commit 356e68378a
2 changed files with 4 additions and 4 deletions

View File

@@ -455,7 +455,7 @@ const schemas = {
personalizationDict
};
type Schema = keyof typeof schemas;
export type Schema = keyof typeof schemas;
function resolveSchemaName(name: Schema) {
return schemas[name] || undefined;