Skip to content
This repository was archived by the owner on Dec 9, 2021. It is now read-only.

Prop types #27

Merged
merged 3 commits into from
Nov 19, 2018
Merged

Prop types #27

merged 3 commits into from
Nov 19, 2018

Conversation

codeBelt
Copy link
Owner

No description provided.

@codeBelt codeBelt requested review from ccheney and n8rzz November 18, 2018 22:45
*/
export default class RandomUserResponseModel extends BaseModel {

public readonly results: UserModel[] = [UserModel as any];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these seems a little odd. is this because data is from an outside source? at the very least this line deserves some sort of comment on why it is written this way

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you look at the json data you will see an array of results.

@codeBelt codeBelt merged commit 4d7ff45 into master Nov 19, 2018
@codeBelt codeBelt deleted the propTypes branch November 19, 2018 03:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants