enonic-types
Advanced tools
Comparing version 0.4.8 to 0.4.9
@@ -64,3 +64,4 @@ declare module "*/lib/cristin" { | ||
BINARY_REFERENCE_PICTURE: "picture"; | ||
LANG_PARAMS_DEFAULT: "en,nb"; | ||
DEFAULT_PARAMS_LANG: "en,nb"; | ||
DEFAULT_PARAMS_PER_PAGE: "10000"; | ||
} | ||
@@ -67,0 +68,0 @@ } |
{ | ||
"name": "enonic-types", | ||
"sideEffects": false, | ||
"version": "0.4.8", | ||
"version": "0.4.9", | ||
"description": "TypeScript types for Enonic XP", | ||
@@ -6,0 +6,0 @@ "typings": "index.d.ts", |
@@ -15,1 +15,4 @@ export declare type EmptyObject = Record<string, never>; | ||
}, SELECTED extends string> = SELECTED extends keyof PickSelected<OPTION_SET, SELECTED> ? PickSelected<OPTION_SET, SELECTED>[SELECTED] : never; | ||
export declare type WithRequiredProperty<Type, Key extends keyof Type> = Type & { | ||
[Property in Key]-?: Type[Property]; | ||
}; |
277652
7565