@vocollege/app 0.0.119 → 0.0.120

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,5 +67,5 @@ export declare const getObjValue: (obj: any, ...props: string[]) => any;
67
67
  */
68
68
  export declare const convertSvgToImage: (url: string, width?: null | number, height?: null | number, format?: string, quality?: number) => Promise<unknown>;
69
69
  export declare const getCollegeUrl: (item: any, origin?: string) => string;
70
- export declare const hasSettings: (item: any, settings?: never[]) => boolean;
70
+ export declare const hasSettings: (item: any, settings?: string[]) => boolean;
71
71
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vocollege/app",
3
- "version": "0.0.119",
3
+ "version": "0.0.120",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -450,7 +450,7 @@ export const getCollegeUrl = (item: any, origin?: string) => {
450
450
  return currentUrl.protocol + "//" + url.join(".");
451
451
  };
452
452
 
453
- export const hasSettings = (item: any, settings = []) => {
453
+ export const hasSettings = (item: any, settings: string[] = []) => {
454
454
  if (!item.settings) {
455
455
  return false;
456
456
  }