https://cypress.io logo
#best-practices
Title
# best-practices
g

great-arm-27075

05/25/2023, 11:00 AM
Hi @everyone, I did override the type command to hide the password using sensitive as shown in Cypress docs, but wherever I'm passing this sensitive: true there I see an error as below, I'm using typescript in my project can somebody help me resolve this issue? when I mouse over the error it's giving this prompt -- Argument of type '{ sensitive: boolean; }' is not assignable to parameter of type 'Partial'. Object literal may only specify known properties, and 'sensitive' does not exist in type 'Partial'.ts(2345) (property) sensitive: boolean

https://cdn.discordapp.com/attachments/961325024114008064/1111247369728704624/image.png

2 Views