An open API service indexing awesome lists of open source software.

https://github.com/jdegand/typescript-exercises-solutions

Solutions to typescript-exercises repo
https://github.com/jdegand/typescript-exercises-solutions

typescript typescript-exercises

Last synced: over 1 year ago
JSON representation

Solutions to typescript-exercises repo

Awesome Lists containing this project

README

          

# Typescript Exercises Solutions

Solutions to [typescript-exercises](https://typescript-exercises.github.io/).

## Thoughts

- Great interactive website to practice typescript
- Not many alternative solutions posted
- A lot of repos are incomplete or out of date - some questions (14,15) have been reworked.
- I didn't copy every question's boilerplate - just the file that needs to be changed.
- Big difficulty spike from previous exercises to exercises 14 & 15.

## Continued Development

- Exercise 14 -> reduce, prop, pipe
- Exercise 15 -> set function

## Useful Resources

- [TypeScript Lang](https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html#return-types-of-callbacks) - Do's and Dont's
- [Stack Overflow](https://stackoverflow.com/questions/48215950/exclude-property-from-type) - exclude property from type
- [Stack Overflow](https://stackoverflow.com/questions/49795008/typescript-multiple-generics-of-the-same-type) - multiple generics of same type
- [Total Typescript](https://www.totaltypescript.com/concepts/type-string-cannot-be-used-to-index-type) - type string cannot be used to index type
- [Stack Overflow](https://stackoverflow.com/questions/13137350/defining-typescript-callback-type) - defining typescript callback type
- [Stack Overflow](https://stackoverflow.com/questions/34179897/typescript-and-spread-operator) - typescript and spread operator
- [Stack Overflow](https://stackoverflow.com/questions/71523998/typescript-question-functiong-type-in-typescript-exercise-14) - exercise 14
- [Stack Overflow](https://stackoverflow.com/questions/12710905/how-do-i-dynamically-assign-properties-to-an-object-in-typescript) - assign properties to an object
- [SP Guides](https://www.spguides.com/typescript-add-a-property-to-object/) - typescript add a property to object
- [Stack Overflow](https://stackoverflow.com/questions/42012580/return-object-with-specific-key-value-types-from-function-in-typescript) - return with specific key values types from function
- [Stack Overflow](https://www.atatus.com/blog/mastering-mapped-types-in-typescript/) - mastering mapped types
- [Total Typescript](https://www.totaltypescript.com/tips/dont-use-return-types-unless) - don't use return types unless
- [Log Rocket Blog](https://blog.logrocket.com/typescript-mapped-types/) - typescript mapped types
- [Stack Overflow](https://stackoverflow.com/questions/62987779/how-do-you-dynamically-update-a-key-value-pair-on-a-typed-object-in-typescript) - dynamically update a key value pair on a typed object in typescript
- [Stack Overflow](https://stackoverflow.com/questions/61648189/typescript-generic-type-parameters-t-vs-t-extends) - generic type parameters t vs t extends
- [Stack Overflow](https://stackoverflow.com/questions/70115664/typescript-function-typing) - typescript function typing
- [Blog](https://levelup.gitconnected.com/devmade-curry-ing-powder-recipe-in-functional-programming-c6e0e45cfbae) - currying
- [Github](https://gist.github.com/donnut/fd56232da58d25ceecf1) - currying & typescript
- [Dev.to](https://dev.to/ecyrbe/how-to-use-advanced-typescript-to-define-a-pipe-function-381h) - how to use advanced typescript to define a pipe function
- [Stack Overflow](https://stackoverflow.com/questions/65154695/typescript-types-for-a-pipe-function) - typescript types for a pipe function
- [Stack Overflow](https://stackoverflow.com/questions/44330774/how-do-i-typed-a-pipe-function-in-typescript) - how do i type a pipe function
- [Blog](https://www.nexxel.dev/blog/pipe) - pipe