Update getDecoratedValue method type

Avoid Typescript compilation to let DecoratedPolicyOptions be extends as PolicyOptions because the getDecoratedValue property was optionnal.
This commit is contained in:
ppenelon
2019-01-26 00:37:03 +00:00
parent 89592f7ec3
commit 9da592449a
+1 -1
View File
@@ -231,7 +231,7 @@ export interface DecoratedPolicyOptions<T> extends PolicyOptions<T> {
/**
* @default false
*/
getDecoratedValue?: boolean;
getDecoratedValue: boolean | undefined;
}
export interface GenerateFuncFlags {