agea / CmisJS

A CMIS javascript library for node and browser
MIT License
38 stars 34 forks source link

Remove redundant optional key from createDocument definition #64

Closed mrodal closed 4 years ago

mrodal commented 4 years ago

The 'cmis:objectTypeId' key is redundant and creates a TS2411 typescript error when compiling. Here someone reported a similar error, and there you can see the answer https://github.com/Microsoft/TypeScript/issues/10042

Basically, its redundant because its covered by the later [k: string] index definition