From c0ae26be7c7712a9c7255011122b1a3e9685d70c Mon Sep 17 00:00:00 2001 From: Ryan Loebs <66971815+ObsidianSnoo@users.noreply.github.com> Date: Mon, 13 May 2024 21:45:37 -0700 Subject: [PATCH] Prettier --- src/bundler/linker.ts | 6 +++++- src/elements/play-icon/play-icon.ts | 1 - src/utils/file-access-api.test.ts | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/bundler/linker.ts b/src/bundler/linker.ts index ec18831..34c8b66 100644 --- a/src/bundler/linker.ts +++ b/src/bundler/linker.ts @@ -8,7 +8,11 @@ import type {AssetMap} from '@devvit/shared-types/Assets.js' * remote. * @arg assets AssetMap describing how to map project assets to URLs */ -export function link(es: string, hostname: string, assets?: AssetMap): LinkedBundle { +export function link( + es: string, + hostname: string, + assets?: AssetMap +): LinkedBundle { return { actor: {name: 'pen', owner: 'play', version: '0.0.0.0'}, assets: assets ?? {}, diff --git a/src/elements/play-icon/play-icon.ts b/src/elements/play-icon/play-icon.ts index 4e5d6cf..9359c2e 100644 --- a/src/elements/play-icon/play-icon.ts +++ b/src/elements/play-icon/play-icon.ts @@ -36,7 +36,6 @@ import restartOutline from './icons/restart-outline.svg' import shareNewOutline from './icons/share-new-outline.svg' import unmountOutline from './icons/unmount-outline.svg' - export type PlayIconSVG = keyof typeof icons const icons = { diff --git a/src/utils/file-access-api.test.ts b/src/utils/file-access-api.test.ts index aa1570c..b8ec895 100644 --- a/src/utils/file-access-api.test.ts +++ b/src/utils/file-access-api.test.ts @@ -3,7 +3,7 @@ */ import {expect, test} from 'vitest' -import {FilePickerType, flattenAcceptTypes} from './file-access-api' +import {type FilePickerType, flattenAcceptTypes} from './file-access-api.js' test('can convert from File Access API types to flat input types', () => { const types: FilePickerType[] = [