Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
12 events
when toggle format what by license comment
S Aug 30, 2018 at 14:26 history suggested theforestecologist CC BY-SA 4.0
edited the writing to be a more clear, and well-written sentence (ending in a ? not a .)
Aug 30, 2018 at 13:47 vote accept Mahendra Hirapra
Aug 30, 2018 at 13:45 review Suggested edits
S Aug 30, 2018 at 14:26
Aug 30, 2018 at 13:35 answer added peinearydevelopment timeline score: 6
Aug 30, 2018 at 13:32 comment added Mahendra Hirapra MyApp can be any class component as it is not usefully.
Aug 30, 2018 at 13:30 comment added Reactgular You use the class name as the type for the argument. function dummy(component: MyApp)
Aug 30, 2018 at 13:25 comment added Learning is a mess Have a look at Class decorators in typescriptlang.org/docs/handbook/decorators.html
Aug 30, 2018 at 13:21 comment added Mahendra Hirapra Yes i am passing a class : MyApp. I want to remove any from dummy function and use correct type
Aug 30, 2018 at 13:19 comment added Learning is a mess Are you trying to pass a class (type) or an instance to dummy?
Aug 30, 2018 at 13:16 review Suggested edits
Aug 30, 2018 at 13:17
S Aug 30, 2018 at 13:13 review Triage
Aug 30, 2018 at 13:45
S Aug 30, 2018 at 13:13 history asked Mahendra Hirapra CC BY-SA 4.0