From afb4a22c61a143ece5513fb723713f3a353e24b8 Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Mon, 20 Jan 2020 10:38:01 +0300 Subject: [PATCH] refactor(core): make toLocalIsoString optional #2666 --- npm/ng-packs/packages/core/src/lib/utils/date-extensions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/ng-packs/packages/core/src/lib/utils/date-extensions.ts b/npm/ng-packs/packages/core/src/lib/utils/date-extensions.ts index 3522b000c8..8f0d17504d 100644 --- a/npm/ng-packs/packages/core/src/lib/utils/date-extensions.ts +++ b/npm/ng-packs/packages/core/src/lib/utils/date-extensions.ts @@ -2,7 +2,7 @@ export {}; declare global { interface Date { - toLocalISOString(): string; + toLocalISOString?: () => string; } }