|
@@ -1,7 +1,8 @@
|
|
|
import { minimalConfiguration } from './minimal';
|
|
|
import { defaultConfiguration } from './default';
|
|
|
+import { ViewerConfiguration } from '../configuration';
|
|
|
|
|
|
-let getConfigurationType = function (type: string) {
|
|
|
+let getConfigurationType = function (type: string): ViewerConfiguration {
|
|
|
switch (type) {
|
|
|
case 'default':
|
|
|
return defaultConfiguration;
|