How can we type a class factory that generates a class given an object literal?

后端 未结 1 1933
[愿得一人]
[愿得一人] 2020-12-22 01:46

For example, I\'ve made a JavaScript library called lowclass and I\'m wondering how to make it work in the TypeScript type system.

The library lets us define a class

1条回答
提交回复
热议问题