how to ignore some typescript errors when running the tests with jest ?
I have tried to use // @ts-ignore comment, but still not working for jest.
I am using jest-expo which internally uses jest@25.0.2
const styles = Stylesheet.create({
header: {
// here is the typescript error
position: "sticky"
}
})
here position: "sticky" is not defined in the type of Stylesheet and I want to suppress this error