updates compliance policy module declaration with narrower type
@@ -24,7 +24,10 @@ declare module 'ember-simple-auth/services/session' {
}
}
-declare module 'wherehows-web/utils/datasets/compliance-policy';
+declare module 'wherehows-web/utils/datasets/compliance-policy' {
+ export const isPolicyExpectedShape: (policy: object) => boolean;
+}
+
declare module 'wherehows-web/controllers/datasets/dataset' {
import Controller from '@ember/controller';
import { Tabs } from 'wherehows-web/constants/datasets/shared';
