|
Three Patterns for Type Safe Analytics using Typescript
Let s improve our analytics code using Typescript and trying three different methods. Demonstrating Typescript features like; keyof, function overloading and closures. 00:00 Introduction 02:09 Project walkthrough 04:25 Using function overloads 10:45 Using function overloads with enums 13:52 Using an event map 18:11 Using event creators 23:02 Outroduction Analytics library: Utility types: Function overloads: Finished code: If you liked this video, buy me a coffee Hope you folks enjoy this If you enjoy this video, please. .., JackHerrington, typescript, typescriptanalytics, analyticsfortypescript, typesafeanalyticsfortypescript, analyticalcodefortypescript, typescriptanalyticcode, analyticscodefortypescript, analyticcodewithtypescript, typescripttypesafe 20210324 NJxagi7KD8
|
|