Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: TS issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hanspagel committed Dec 12, 2023
1 parent 984b039 commit e7ebe90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/snippetz-plugin-undici/src/undici.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function arrayToObject(items: any) {
}, {})
}

function isKeyNeedsQuotes(key) {
function isKeyNeedsQuotes(key: string) {
return /\s|-/.test(key);
}

Expand Down

0 comments on commit e7ebe90

Please sign in to comment.