Typetypesv0.14.4TypedExtractType-safe version of Extract that ensures the extracted types are valid members type TypedExtract<Target, UnionKeys extends Target> = Extract< Target, UnionKeys >;ExamplesCopytype Example = 'a' | 'b' | 'c'; type Result = TypedExtract<Example, 'b' | 'c'>; // Result: 'b' | 'c'Type parametersTargetThe union type to extract from TargetUnionKeysThe types to extract from the union UnionKeys extends Target