type safety in LocalStorage api with typescript, how can you check if the value stored in LocalStorage has that type that you want it to be? Learn this in the following video. We use 2 techniques a custom type guard and another technique with the package 'zod'.
https://zod.dev/