basarat / basarat/typescript-book

TIP: converting JSON data to classes

Open
#48 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Use `Object.assign` when available.

Sample : http://stackoverflow.com/a/34212743/390330 :rose:

Contributor guide

Open the contributing guide

Research direction

Review the linked Stack Overflow example and locate the TypeScript book section covering conversion of JSON data to classes. Confirm where this tip belongs and whether the guidance should mention Object.assign; done means the relevant documentation includes the agreed example or reference.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.