mirror of
https://github.com/LukeHagar/prettier-plugin-openapi.git
synced 2025-12-09 20:57:46 +00:00
Add KEYS.md for comprehensive OpenAPI key reference and update biome.json to disable explicit any type warnings
This commit is contained in:
@@ -359,7 +359,7 @@ function sortResponseCodes(a: string, b: string): number {
|
||||
const aNum = parseInt(a);
|
||||
const bNum = parseInt(b);
|
||||
|
||||
if (!isNaN(aNum) && !isNaN(bNum)) {
|
||||
if (!Number.isNaN(aNum) && !Number.isNaN(bNum)) {
|
||||
return aNum - bNum;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user