Noticed that indexed access types were not working and implemented a first version of it supporting indexed access types with depth1 and depth2. Was to stupid to implement it with recursion yet, might be a task for another day :p. Main changes in this file here
Added skeleton for jest tests
How to test
test index access with "depth 2". Create types.ts with content
// Arbitrary example types
export type Address = {
street: string;
test: {
a: string;
};
};
export type Address2 = {
street2: Address["test"]["a"];
};
Noticed that indexed access types were not working and implemented a first version of it supporting indexed access types with depth1 and depth2. Was to stupid to implement it with recursion yet, might be a task for another day :p. Main changes in this file here
Added skeleton for jest tests
How to test
yarn build && yarn start
yarn build && yarn start
yarn build && yarn test