The key type accepted by getSecret: the union of registered secret keys, or the open string when the registry is empty (unadopted apps keep the loose DX). Extract<…, string> keeps it cast-free (registry keys are always strings).
string
Extract<…, string>
The key type accepted by getSecret: the union of registered secret keys, or the open
stringwhen the registry is empty (unadopted apps keep the loose DX).Extract<…, string>keeps it cast-free (registry keys are always strings).