Alex Layton
Alex Layton
I had interpreted it as anything that was JSON serializable. But I could see them meaning it more literally. What do you mean about `t.deepEqual`? Is there some undocumented way...
I was expecting it to just treat an array the way it treats and object. That is, element `i` of the array (key `i` of it as an object) must...
I have no experience with concordance, but could you not simply transform any arrays to their "equivalent" object before doing the comparison with the selector?
Not sure I see cases where it is hard, unless you are worried about it becoming slow for giant objects? You just need to recurse down the thing.
I still get an error when using a function as the format: ```typescript import convict from "convict"; interface Foo { a: { b: number }; } export function foo(val: any):...
The schema is not unclear though? `s` is always a string and any _other_ properties are objects with a `foo` key.
This is a fine type for what I want, which is exactly what my schema means: ```ts /* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. *...
My typing work for my case which is handling input from non ts code (see [this](https://basarat.gitbook.io/typescript/type-system/index-signatures#excluding-certain-properties-from-the-index-signature)) and I need to make sure that the ts code treats it properly. It...
I feel this is definitely a bug. My schema is valid and unambiguous. This should either be documented as a shortcoming or it should compile to something at least valid...
My suggestion would be to always use `.apply` rather than `.call`, like you said. I also think it looks like it is doing something weird...