Philip Goodbread
Philip Goodbread
  • Видео 39
  • Просмотров 3 831
Drop Char - TypeScript Type Challenges #2070 [MEDIUM]
Let's solve "Drop Char":
Drop a specified char from a string.
00:00 Challenge introduction
00:12 Solving the challenge
00:55 Working Solution for Drop Char TypeScript Type Challenge
01:00 Improving the Solution
Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m
Solving and explaining all TypeScript Type Challenges from: github.com/type-challenges/type-challenges
Follow me on twitter: x.com/pgoodbread1
Book recommendations for Software Developers:
Pragmatic Programmer: amzn.to/4aDXwi9
The Phoenix Project: amzn.to/3Xwj7pn
------------------------------
Outro Music by:
Gonna Sing by Peyruis / peyruis
Creative Commons - Attribution 3.0 Unported - CC BY 3.0
Free Download / S...
Просмотров: 18

Видео

IsNever - TypeScript Type Challenges #1042 [MEDIUM]
Просмотров 4314 часов назад
Let's solve "IsNever": Implement a type IsNever, which takes input type T. If the type of resolves to never, return true, otherwise false. 00:00 Challenge introduction 00:15 Solving the challenge 00:40 Working Solution for IsNever TypeScript Type Challenge Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and explaining all TypeScript Type Challenges fro...
Diff - TypeScript Type Challenges #645 [MEDIUM]
Просмотров 10День назад
Let's solve "Diff": Get an Object that is the difference between two Objects O & O1, containing all properties that are only present in one object. 00:00 Challenge introduction 00:20 Solving the challenge 01:25 Working Solution for Diff TypeScript Type Challenge 01:35 Recapping Solution Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and explaining all...
KebabCase - TypeScript Type Challenges #612 [MEDIUM]
Просмотров 122День назад
Let's solve "KebabCase": Replace the camelCase or PascalCase string with kebab-case. FooBarBaz becomes foo-bar-baz 00:00 Challenge introduction 00:10 Introducting TypeScript Uncapitalize utility method 00:25 Solving the challenge 01:40 Working Solution for KebabCase TypeScript Type Challenge Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and explainin...
Merge - TypeScript Type Challenges #599 [MEDIUM]
Просмотров 4514 дней назад
Let's solve "Merge": Merge two types into a new type. Keys of the second type overrides keys of the first type. 00:00 Challenge introduction 00:08 Solving the challenge 01:12 Working Solution for Merge TypeScript Type Challenge Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and explaining all TypeScript Type Challenges from: github.com/type-challenges...
String To Union - TypeScript Type Challenges #531 [MEDIUM]
Просмотров 3514 дней назад
Let's solve "String To Union": Implement the String to Union type. Type take string argument. The output should be a union of input letters 00:00 Challenge introduction 00:12 Solving the challenge 00:55 Working Solution for String To Union TypeScript Type Challenge 01:12 Alternative Solution Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and explainin...
Absolute - TypeScript Type Challenges #529 [MEDIUM]
Просмотров 1521 день назад
Let's solve "Absolute": Implement the Absolute type. A type that take string, number or bigint. The output should be a positive number string. 00:00 Challenge introduction 00:09 Solving the challenge 00:32 Working Solution for Absolute TypeScript Type Challenge Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and explaining all TypeScript Type Challenge...
Append to Object - TypeScript Type Challenges #527 [MEDIUM]
Просмотров 2721 день назад
Let's solve "Append to Object" Implement a type that adds a new field to the interface. The type takes the three arguments. The output should be an object with the new field. 00:00 Challenge introduction 00:10 Solving the challenge 01:10 Working Solution for Append to Object TypeScript Type Challenge Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and ...
Chainable Options - TypeScript Type Challenges #12 [MEDIUM]
Просмотров 33Месяц назад
Let's solve Chainable Options Chainable options are commonly used in JavaScript. But when we switch to TypeScript, can we properly type it? In this challenge, we need to type an object or a class-whatever we prefer-to provide two functions: option(key, value) and get(). In option, we should be able to extend the current config type by the given key and value. We should then be able to access th...
Length of String - TypeScript Type Challenges #298 [MEDIUM]
Просмотров 24Месяц назад
Let's solve the Length of String TypeScript Challenge using string literal types and array methods. 00:00 Challenge introduction 00:12 Solving the Challenge 00:50 Working Solution for Length of String TypeScript Type Challenge Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and explaining all TypeScript Type Challenges from: github.com/type-challenges/...
ReplaceAll - TypeScript Type Challenges #119 [MEDIUM]
Просмотров 15Месяц назад
Let's solve ReplaceAll by using TypeScripts string type manipulations with string literal types. 00:00 Intro 00:12 Challenge introduction 00:36 Attempt at solution 01:20 Working Solution for _NAME TypeScript Type Challenge 01:37 Checking other online solutions Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and explaining all TypeScript Type Challenges...
Replace - TypeScript Type Challenges #116 [MEDIUM]
Просмотров 27Месяц назад
Let's solve Replace Challenge where we have to replace a needl in a haystack string! 00:00 Challenge introduction 00:20 Attempt at solution 01:20 Working Solution for Replace TypeScript Type Challenge Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and explaining all TypeScript Type Challenges from: github.com/type-challenges/type-challenges Follow me ...
Capitalize - TypeScript Type Challenges #110 [MEDIUM]
Просмотров 31Месяц назад
Let's solve Capitalize Challenge, where we manipulate strings and cannot use the TypeScript built-in Capitalize generic! 00:00 Challenge introduction 00:15 Attempt at solution 01:14 Working Solution for Capitalize TypeScript Type Challenge Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and explaining all TypeScript Type Challenges from: github.com/typ...
Trim - TypeScript Type Challenges #108 [MEDIUM]
Просмотров 23Месяц назад
Let's solve Trim TypeScript Type Challenge 00:00 Intro 00:12 Challenge introduction 00:26 Attempt at solution 01:17 Working Solution for Trim TypeScript Type Challenge 01:21 Checking other online solutions Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and explaining all TypeScript Type Challenges from: github.com/type-challenges/type-challenges Follo...
Trim Left - TypeScript Type Challenges #106 [MEDIUM]
Просмотров 21Месяц назад
Let's solve Trim Left 00:00 Intro 00:12 Challenge introduction 00:28 Attempt at solution 01:30 Working Solution for Trim Left TypeScript Type Challenge 01:41 Checking other online solutions Find all videos in this playlist: ruclips.net/p/PLBO33OUk67hb5dHW6_vS_o33CMqmDQQ6m Solving and explaining all TypeScript Type Challenges from: github.com/type-challenges/type-challenges Follow me on twitter:...
Pop - TypeScript Type Challenges #16 [MEDIUM]
Просмотров 84Месяц назад
Pop - TypeScript Type Challenges #16 [MEDIUM]
Last of Array - TypeScript Type Challenges #15 [MEDIUM]
Просмотров 1,8 тыс.Месяц назад
Last of Array - TypeScript Type Challenges #15 [MEDIUM]
Tuple to Union - TypeScript Type Challenges #10 [MEDIUM]
Просмотров 352 месяца назад
Tuple to Union - TypeScript Type Challenges #10 [MEDIUM]
Deep Readonly - TypeScript Type Challenges #9 [MEDIUM]
Просмотров 342 месяца назад
Deep Readonly - TypeScript Type Challenges #9 [MEDIUM]
Readonly2 - TypeScript Type Challenges #8 [MEDIUM]
Просмотров 552 месяца назад
Readonly2 - TypeScript Type Challenges #8 [MEDIUM]
Omit - TypeScript Type Challenges #3 [MEDIUM]
Просмотров 392 месяца назад
Omit - TypeScript Type Challenges #3 [MEDIUM]
Includes - TypeScript Type Challenges #898 [EASY]
Просмотров 1042 месяца назад
Includes - TypeScript Type Challenges #898 [EASY]
Return Type - TypeScript Type Challenges #2 [MEDIUM]
Просмотров 712 месяца назад
Return Type - TypeScript Type Challenges #2 [MEDIUM]
Parameters - TypeScript Type Challenges #3312 [EASY]
Просмотров 412 месяца назад
Parameters - TypeScript Type Challenges #3312 [EASY]
Unshift - TypeScript Type Challenges #3060 [EASY]
Просмотров 1293 месяца назад
Unshift - TypeScript Type Challenges #3060 [EASY]
Push - TypeScript Type Challenges #3057 [EASY]
Просмотров 1563 месяца назад
Push - TypeScript Type Challenges #3057 [EASY]
Concat - TypeScript Type Challenges #533 [EASY]
Просмотров 713 месяца назад
Concat - TypeScript Type Challenges #533 [EASY]
If - TypeScript Type Challenges #268 [EASY]
Просмотров 303 месяца назад
If - TypeScript Type Challenges #268 [EASY]
Awaited - TypeScript Type Challenges #189 [EASY]
Просмотров 573 месяца назад
Awaited - TypeScript Type Challenges #189 [EASY]
Exclude - TypeScript Type Challenges #43 [EASY]
Просмотров 263 месяца назад
Exclude - TypeScript Type Challenges #43 [EASY]