You might write like
class MyClass {
constructor(readonly opts: MyClassOpts) {
}
and then opts will be a member
Ah, thank you, that might be what I was after
Please Login to reply.
No replies yet.