ts-json-schema-generator
ts-json-schema-generator copied to clipboard
Issue with keyof
Hello, first of all thanks for the great library.
Now I'm having an issue I don't understand I have class that has a property called fn, this property is an object of functions I need to generate an enum from in my type so I do this
type myFunctions = keyof myClass['fn']
but I get this error:
LogicError: Invalid index "fn" in type "class-1549443271-162-586-1549443271-0-587"
at
Could anyone assist I don't understand what I'm doing wrong?