codice-fiscale-utils icon indicating copy to clipboard operation
codice-fiscale-utils copied to clipboard

fix issue 103

Open carmelone opened this issue 2 years ago • 3 comments

Fixes https://github.com/Marketto/codice-fiscale-utils/issues/103.

carmelone avatar Jan 14 '24 21:01 carmelone

@Marketto, do you think it's possible to merge and release this ASAP?

carmelone avatar Jan 28 '24 17:01 carmelone

@Marketto, do you think it's possible to merge and release this ASAP?

carmelone avatar Feb 27 '24 13:02 carmelone

@Marketto, what's the problem that doesn't make you merge this?

carmelone avatar Mar 09 '24 16:03 carmelone

Those changes break the unit tests and make the lib not backward compatible with non-verbatim projects. A verbatim project doesn't need verbatim dependencies

Using VermatimModuleSyntax you just need to import as follows

import * as CodiceFiscaleUtils from '@marketto/codice-fiscale-utils';
import type {BelfiorePlace, DateDay, DateMonth, Genders, MultiFormatDate} from '@marketto/codice-fiscale-utils';

No Changes are needed to the source code I will add this import hint in the README.MD

Marketto avatar May 28 '24 19:05 Marketto