Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Fixing an issue that type 'null' and 'undefined' is not assignable to validateStatus when typescript strict option is enabled #3200
In previous my PR(#2773), I had missed about two things.
So I fix above things in this PR.
Before -> validateStatus?: ((status: number) => boolean | null)
After - validateStatus?: ((status: number) => boolean) | null
TS2345 Error of line 341, 345 is irrelevant to the validateStatus option. So I don't care about this.