Skip to content

Commit e0ee310

Browse files
committed
fix: types
1 parent 0a94b4e commit e0ee310

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

_nuxthub/server/utils/blob.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { R2Bucket, R2ListOptions } from '@cloudflare/workers-types/experimental'
2-
import type { BlobObject } from '~/_nuxthub/types'
32
import mime from 'mime'
43
// import { imageMeta } from 'image-meta'
54
import { defu } from 'defu'

_nuxthub/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export interface BlobObject {
1+
declare interface BlobObject {
22
pathname: string
33
contentType: string | undefined
44
size: number

server/api/storage/index.put.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import type { BlobObject } from '~/_nuxthub/types'
2-
31
export default eventHandler(async (event) => {
42
await requireUserSession(event)
53

0 commit comments

Comments
 (0)