unlayer-types 1.299.0 → 1.303.0

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.
Files changed (2) hide show
  1. package/embed.d.ts +1 -1
  2. package/package.json +1 -1
package/embed.d.ts CHANGED
@@ -1794,7 +1794,7 @@ declare module "engine/config/features" {
1794
1794
  export function getFeature<Path extends keyof Features | [keyof Features, ...string[]]>(path: Path): Path extends keyof Features ? Features[Path] : any;
1795
1795
  export function normalizeFeatureAsObject<Object extends Record<string, any>, Feature extends boolean | Object>(feature: Feature | undefined): Partial<Feature & object>;
1796
1796
  export function getFeatureAsObject<Path extends keyof Features | [keyof Features, ...string[]]>(path: Path): Partial<(Path extends keyof Features ? Features[Path] : any) & object>;
1797
- export function hasFeature<Path extends string | string[]>(path: Path, checkEntitlement?: boolean): boolean;
1797
+ export function hasFeature<Path extends keyof Features | [keyof Features, ...string[]]>(path: Path, checkEntitlement?: boolean | string): boolean;
1798
1798
  }
1799
1799
  declare module "engine/config/offline" {
1800
1800
  export function enableOffline(): void;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "unlayer-types",
3
- "version": "1.299.0",
3
+ "version": "1.303.0",
4
4
  "license": "MIT"
5
5
  }