// @strict: true // Repro from #21273 declare function conforms(source: { [K in keyof T]: (val: T[K]) => boolean }): (value: T) => boolean; conforms({ foo: (v: string) => false })({ foo: "hello" });