Update Prettier

Also manually run prettier on `src/` and `lib/` to ensure
consistent formatting.
This commit is contained in:
Tim van der Lippe
2021-10-20 12:21:56 +01:00
parent e3f840c6da
commit e23bc4d2e5
8 changed files with 49 additions and 50 deletions

View File

@@ -2,9 +2,9 @@ import * as styles from './styles.css';
import 'add-css:./styles.css';
// So it doesn't cause an error when running in node
const HTMLEl = ((__PRERENDER__
const HTMLEl = (__PRERENDER__
? Object
: HTMLElement) as unknown) as typeof HTMLElement;
: HTMLElement) as unknown as typeof HTMLElement;
/**
* A simple spinner. This custom element has no JS API. Just put it in the document, and it'll