Created
August 1, 2021 06:40
-
-
Save Goldziher/87c27298b82941416934e047ebc43bda to your computer and use it in GitHub Desktop.
Re-written factory using EntityInterface helper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const UserFactory = new TypeFactory< | |
EntityInterface<User, AbstractUUIDPrimaryKeyEntity> | |
>(() => ({ | |
... | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment