ng-mocks 14.7.3 → 14.9.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.
- package/index.d.ts +18 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -31,6 +31,23 @@ export type AnyType<T> = Type<T> | AbstractType<T>;
|
|
|
31
31
|
* @internal
|
|
32
32
|
*/
|
|
33
33
|
export type AnyDeclaration<T> = AnyType<T> | InjectionToken<T> | string;
|
|
34
|
+
/**
|
|
35
|
+
* Normalized Input / Output type.
|
|
36
|
+
* It should be A16 structure.
|
|
37
|
+
*
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
export type DirectiveIoParsed = {
|
|
41
|
+
name: string;
|
|
42
|
+
alias?: string;
|
|
43
|
+
required?: boolean;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Possible Input / Output type.
|
|
47
|
+
*
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
export type DirectiveIo = string | DirectiveIoParsed;
|
|
34
51
|
/**
|
|
35
52
|
* DebugNodeSelector describes supported types of selectors
|
|
36
53
|
* to search elements and instances in fixtures.
|
|
@@ -294,7 +311,7 @@ export type ngMocksMockConfig = {
|
|
|
294
311
|
init?: (instance: any) => void;
|
|
295
312
|
isControlValueAccessor?: boolean;
|
|
296
313
|
isValidator?: boolean;
|
|
297
|
-
outputs?:
|
|
314
|
+
outputs?: Array<DirectiveIo>;
|
|
298
315
|
queryScanKeys?: string[];
|
|
299
316
|
setControlValueAccessor?: boolean;
|
|
300
317
|
transform?: PipeTransform["transform"];
|