gvergnaud / hotscript

A library of composable functions for the type-level! Transform your TypeScript types in any way you want using functions you already know.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Objects.AllPaths` typed as `never` with dictionaries

lars-berger opened this issue · comments

type MyDictionary = {
  [key: string]: {
    name: string;
    age: number;
  };
};

export type Paths = Call<Objects.AllPaths, MyDictionary>; // never

Expected behaviour IMO would be string | "${string}.name" | "${string}.age". Is this possible?