Skip to content

Commit

Permalink
Fix formating issues after prettier update
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwalton committed Dec 27, 2023
1 parent a9a9015 commit 4f08663
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ First, in your application code, import the "base" build rather than the "standa
Then, inline the code from `dist/polyfill.js` into the `<head>` of your pages. This step is important since the "base" build will error if the polyfill code has not been added.

```html
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<script>
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ declare global {

interface Performance {
getEntriesByType<K extends keyof PerformanceEntryMap>(
type: K
type: K,
): PerformanceEntryMap[K][];
}

Expand Down
2 changes: 1 addition & 1 deletion test/unit/attribution-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
describe('index', () => {
it('exports Web Vitals metrics functions', () => {
[onCLS, onFCP, onFID, onINP, onLCP, onTTFB].forEach((onFn) =>
assert(typeof onFn === 'function')
assert(typeof onFn === 'function'),
);
});

Expand Down
2 changes: 1 addition & 1 deletion test/unit/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
describe('index', () => {
it('exports Web Vitals metrics functions', () => {
[onCLS, onFCP, onFID, onINP, onLCP, onTTFB].forEach((onFn) =>
assert(typeof onFn === 'function')
assert(typeof onFn === 'function'),
);
});

Expand Down

0 comments on commit 4f08663

Please sign in to comment.