ng-mocks 14.3.0 → 14.3.1

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 CHANGED
@@ -1078,9 +1078,20 @@ export declare function MockReset(): void;
1078
1078
  */
1079
1079
  export interface NgModuleWithProviders<T = any> {
1080
1080
  ngModule: Type<T>;
1081
- providers?: Provider[];
1081
+ providers?: Array<Provider>;
1082
+ }
1083
+ /**
1084
+ * NgModuleWithProviders which supports A15
1085
+ *
1086
+ * @internal remove after removal of A5 support and switch to NgModuleWithProviders
1087
+ */
1088
+ export interface NgModuleWithProvidersA15<T = any> {
1089
+ ngModule: Type<T>;
1090
+ providers?: Array<Provider | {
1091
+ ɵbrand: string;
1092
+ }>;
1082
1093
  }
1083
- export declare type MockBuilderParam = string | AnyDeclaration<any> | NgModuleWithProviders;
1094
+ export declare type MockBuilderParam = string | AnyDeclaration<any> | NgModuleWithProviders | NgModuleWithProvidersA15;
1084
1095
  /**
1085
1096
  * MockBuilder provides reach and simple interfaces of chain functions
1086
1097
  * to build desired mock environment for tests.