From 85148c8dd6e2b87f4aa2234f983c40f0d14e1c97 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Wed, 6 Nov 2019 08:18:51 +0100 Subject: [PATCH] refactor: remove spread operators This is causing the consumption of the library to fail. See: https://github.com/angular/angular/issues/33614 --- src/lib/extended/module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/extended/module.ts b/src/lib/extended/module.ts index a10764e85..0f8058484 100644 --- a/src/lib/extended/module.ts +++ b/src/lib/extended/module.ts @@ -33,8 +33,8 @@ const ALL_DIRECTIVES = [ @NgModule({ imports: [CoreModule], - declarations: [...ALL_DIRECTIVES], - exports: [...ALL_DIRECTIVES] + declarations: ALL_DIRECTIVES, + exports: ALL_DIRECTIVES }) export class ExtendedModule { }