NullVoxPopuli / ember-resources

An implementation of Resources. Supports ember 3.28+
https://github.com/NullVoxPopuli/ember-resources/blob/main/docs/docs/README.md
MIT License
90 stars 37 forks source link

Make types more consistent #1157

Open NullVoxPopuli opened 1 month ago

NullVoxPopuli commented 1 month ago

Goal: tighten up the typed-usage story.

Might be blocked on finding a way to make decorators change the type of a property see repro in tsplayground here

Issue for TS:

TODO: Where const Resource = resource(...)

stackblitz[bot] commented 1 month ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ember-resources-0a9q ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 11, 2024 5:44pm
github-actions[bot] commented 1 month ago

Estimated impact to a consuming app, depending on which bundle is imported

js min min + gzip min + brotli
/index.js 14.41 kB 2.13 kB 927 B 775 B