Type Alias ExtractParams<TPath>

ExtractParams<TPath>: TPath extends `${string}{${infer Param}}${infer Rest}`
    ? Param | ExtractParams<Rest>
    : never

Type Parameters

  • TPath extends string