Closed kolisko closed 6 years ago
object
types has been introduced in TS 2.2:
https://blog.mariusschulz.com/2017/02/24/typescript-2-2-the-object-type
And the type is intended to be object
to prevent wrong usage of the function, without manual JS typechecking inside lib function. Why you just don't upgrade your typescript package version?
yes, you are certainly right. It was a bit more difficult to switch to TS2.2 on our project, but it was successfully done. Thanks! You can close it.
Could you change 'object' to 'Object' in index.d.ts please?
I have got 10 errors in index.d.ts file like this: