Skip to content

Commit

Permalink
Fix bad import
Browse files Browse the repository at this point in the history
  • Loading branch information
ObsidianSnoo committed May 20, 2024
1 parent c2ad9a8 commit bdc830d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/elements/play-assets/play-assets.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import {assert} from '@esm-bundle/chai'
import {PlayAssets} from './play-assets'

test('tag is defined', () => {
const el = document.createElement('play-assets')
assert.instanceOf(el, PlayAssets)
})
3 changes: 1 addition & 2 deletions src/elements/play-assets/play-assets.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {type PropertyValues, ReactiveElement} from 'lit'
import {customElement, property} from 'lit/decorators.js'
import {PlayPen} from '../play-pen/play-pen.js'
import {WebAccess, WebStorage} from '@zenfs/dom'
import {Bubble} from '../../utils/bubble.js'
import {Zip} from '@zenfs/zip'
Expand Down Expand Up @@ -38,7 +37,7 @@ const DEFAULT_MIME = 'application/octet-stream'

declare global {
interface HTMLElementTagNameMap {
'play-pen': PlayPen
'play-assets': PlayAssets
}
interface HTMLElementEventMap {
'assets-updated': CustomEvent<void>
Expand Down

0 comments on commit bdc830d

Please sign in to comment.