Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ObsidianSnoo committed May 14, 2024
1 parent fb6e184 commit c0ae26b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/bundler/linker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?? {},
Expand Down
1 change: 0 additions & 1 deletion src/elements/play-icon/play-icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/file-access-api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = [
Expand Down

0 comments on commit c0ae26b

Please sign in to comment.