guides-source icon indicating copy to clipboard operation
guides-source copied to clipboard

Add Examples for Contextual Components with Generics

Open kdagnan opened this issue 1 year ago • 2 comments

I added some examples of yielding a contextual component with generic types to the "Invokables" typescript guides.

As part of this, I broke the "Advanced Signature Techniques" section into two sections: "Union Types" and "Generic Types", and updated the existing example to focus specifically on the Union Types while the new Generic Types examples show using Generic Types in a single component or with contextual components.

This is my first contribution so please let me know if I am missing anything or something looks off.

kdagnan avatar Oct 25 '24 21:10 kdagnan

Deploy Preview for ember-guides ready!

Name Link
Latest commit 12684869a81b2bab8bddb96202c84bc2fd9f15c7
Latest deploy log https://app.netlify.com/sites/ember-guides/deploys/671c07e44b8ac10008193203
Deploy Preview https://deploy-preview-2066--ember-guides.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Oct 25 '24 21:10 netlify[bot]

Thanks for the contribution! ❤️ Just had a few small comments.

gitKrystan avatar Oct 28 '24 17:10 gitKrystan