campo de objeto TS de variable
// use braces to access an object field from a variable
// use keyof to remove the 'any' type error
activeVideo = videos[target.value as keyof IVideoData];
Average Ape