Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign updoc: TS types for schema should represent relationships as id type #442
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Problem
Here are the types for a ts test https://github.com/paularmstrong/normalizr/blob/master/typescript-tests/entity.ts#L11
Since in the normalized entities all relationships are all id type this should be
stringinstead ofUser