questions/15260-hard-tree-path-array/README.md
Create a type Path that represents validates a possible path of a tree under the form of an array.
Related challenges:
declare const example: {
foo: {
bar: {
a: string;
};
baz: {
b: number
c: number
}
};
}
// Possible solutions:
// []
// ['foo']
// ['foo', 'bar']
// ['foo', 'bar', 'a']
// ['foo', 'baz']
// ['foo', 'baz', 'b']
// ['foo', 'baz', 'c']
<a href="../../README.md" target="_blank"></a> <a href="https://tsch.js.org/15260/answer" target="_blank"></a> <a href="https://tsch.js.org/15260/solutions" target="_blank"></a> <!--info-footer-end-->