From 6c1d86c43ed28d0f0d51014ca2fe530b0561c27c Mon Sep 17 00:00:00 2001 From: "g.d.panov" Date: Thu, 24 Aug 2023 18:33:38 +0300 Subject: [PATCH] fix(kit): add @dynamic to fix ngcc build fail on generic parsing --- .../kit/pipes/iso-to-country-code/iso-to-country-code.pipe.ts | 1 + projects/kit/pipes/to-country-code/to-country-code.pipe.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/projects/kit/pipes/iso-to-country-code/iso-to-country-code.pipe.ts b/projects/kit/pipes/iso-to-country-code/iso-to-country-code.pipe.ts index 295529f7dfdb..3732289483bc 100644 --- a/projects/kit/pipes/iso-to-country-code/iso-to-country-code.pipe.ts +++ b/projects/kit/pipes/iso-to-country-code/iso-to-country-code.pipe.ts @@ -3,6 +3,7 @@ import {TuiCountryIsoCode} from '@taiga-ui/i18n'; import {TUI_COUNTRIES_MASKS} from '@taiga-ui/kit/tokens'; import {tuiIsoToCountryCode} from '@taiga-ui/kit/utils'; +// @dynamic @Pipe({ name: `tuiIsoToCountryCode`, }) diff --git a/projects/kit/pipes/to-country-code/to-country-code.pipe.ts b/projects/kit/pipes/to-country-code/to-country-code.pipe.ts index 1decfcb4b388..bffe90362f28 100644 --- a/projects/kit/pipes/to-country-code/to-country-code.pipe.ts +++ b/projects/kit/pipes/to-country-code/to-country-code.pipe.ts @@ -8,6 +8,7 @@ import { tuiNotKzRegion, } from '@taiga-ui/kit/utils'; +// @dynamic @Pipe({ name: `tuiToCountryCode`, })