I have mongoose schema which uses timestamp. I tried to run the code it errors out with
error TS2554: Expected 0-1 arguments, but got 2. { timestamps: true