beginners-typescript-tutorial icon indicating copy to clipboard operation
beginners-typescript-tutorial copied to clipboard

Small fixes

Open tadasgo opened this issue 3 years ago • 1 comments

Changes

  • Fixed typo in 11-record.problem and 11-record.solutions to -> from
  • Cleaned up Promise<User> and string types from 18-function-types-with-promises.solution because they are inferred. Slight difference is that we no longer enforce that exact return type.

Screenshots

Before image

After: image

But: image image

tadasgo avatar Oct 13 '22 17:10 tadasgo

The typo fixes are great, but I don't want to remove those annotations! I'll leave this open for you to make this change so we can merge this and you can rightly get your name on the contributors list.

mattpocock avatar Oct 17 '22 09:10 mattpocock