Skip to content

Commit

Permalink
Fix prettier errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgio committed Oct 20, 2023
1 parent f4cf332 commit 3a5e1ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion src/utils/hasOwnProperty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
export default function hasOwnProperty<
X extends Record<string, unknown>,
Y extends PropertyKey
Y extends PropertyKey,
>(obj: X, prop: Y): obj is X & Record<Y, unknown> {
return Object.prototype.hasOwnProperty.call(obj, prop);
}

0 comments on commit 3a5e1ff

Please sign in to comment.