Get the literal names of keys that are methods in object type T
T
Methods<{ foo: () => void; bar: (a: any) => string; barBaz: string; bazBar: Numeric; }> // Result: 'foo' | 'bar' Copy
Methods<{ foo: () => void; bar: (a: any) => string; barBaz: string; bazBar: Numeric; }> // Result: 'foo' | 'bar'
Get the literal names of keys that are methods in object type
T