diff --git a/ember-file-upload/src/index.ts b/ember-file-upload/src/index.ts index 958c77f6c..02255c192 100644 --- a/ember-file-upload/src/index.ts +++ b/ember-file-upload/src/index.ts @@ -16,7 +16,7 @@ export { FileSource, FileState, // Interfaces - QueueName, + type QueueName, // Constants DEFAULT_QUEUE, }; diff --git a/ember-file-upload/src/services/file-queue.ts b/ember-file-upload/src/services/file-queue.ts index a753b3019..8f5602c7e 100644 --- a/ember-file-upload/src/services/file-queue.ts +++ b/ember-file-upload/src/services/file-queue.ts @@ -3,7 +3,7 @@ import Service from '@ember/service'; import { registerDestructor } from '@ember/destroyable'; import { Queue } from '../queue.ts'; import type { UploadFile } from '../upload-file.ts'; -import { QueueName } from '../interfaces.ts'; +import type { QueueName } from '../interfaces.ts'; import { TrackedMap } from 'tracked-built-ins'; export const DEFAULT_QUEUE = Symbol('DEFAULT_QUEUE'); diff --git a/ember-file-upload/src/system/data-transfer-wrapper.ts b/ember-file-upload/src/system/data-transfer-wrapper.ts index 1ee9ebc40..510307651 100644 --- a/ember-file-upload/src/system/data-transfer-wrapper.ts +++ b/ember-file-upload/src/system/data-transfer-wrapper.ts @@ -1,4 +1,4 @@ -import { FileUploadDragEvent } from '../interfaces.ts'; +import type { FileUploadDragEvent } from '../interfaces.ts'; const getDataSupport = {}; diff --git a/ember-file-upload/src/system/drag-listener-modifier.ts b/ember-file-upload/src/system/drag-listener-modifier.ts index 859780d07..6aae0e9ea 100644 --- a/ember-file-upload/src/system/drag-listener-modifier.ts +++ b/ember-file-upload/src/system/drag-listener-modifier.ts @@ -1,5 +1,5 @@ -import Modifier, { ArgsFor, NamedArgs } from 'ember-modifier'; -import { DragListenerModifierSignature } from '../interfaces.ts'; +import Modifier, { type ArgsFor, type NamedArgs } from 'ember-modifier'; +import type { DragListenerModifierSignature } from '../interfaces.ts'; import DragListener from './drag-listener.ts'; import { registerDestructor } from '@ember/destroyable'; import type Owner from '@ember/owner'; diff --git a/ember-file-upload/src/system/http-request.ts b/ember-file-upload/src/system/http-request.ts index 6279f4a3f..f9dd7871e 100644 --- a/ember-file-upload/src/system/http-request.ts +++ b/ember-file-upload/src/system/http-request.ts @@ -1,6 +1,6 @@ import { bind } from '@ember/runloop'; import RSVP from 'rsvp'; -import { HTTPRequestOptions } from '../interfaces.ts'; +import type { HTTPRequestOptions } from '../interfaces.ts'; function parseHeaders(headerString: string) { return headerString diff --git a/ember-file-upload/src/system/upload.ts b/ember-file-upload/src/system/upload.ts index 4bc2ecdcc..2d0911214 100644 --- a/ember-file-upload/src/system/upload.ts +++ b/ember-file-upload/src/system/upload.ts @@ -3,7 +3,7 @@ import HTTPRequest from './http-request.ts'; import RSVP from 'rsvp'; import { waitForPromise } from '@ember/test-waiters'; import type { UploadFile } from '../upload-file.ts'; -import { FileState, UploadOptions } from '../interfaces.ts'; +import { FileState, type UploadOptions } from '../interfaces.ts'; function clone(object: object | undefined) { return object ? { ...object } : {}; diff --git a/ember-file-upload/src/upload-file.ts b/ember-file-upload/src/upload-file.ts index 23b01f4a6..f1d65d24c 100644 --- a/ember-file-upload/src/upload-file.ts +++ b/ember-file-upload/src/upload-file.ts @@ -7,7 +7,7 @@ import UploadFileReader from './system/upload-file-reader.ts'; import type { Queue } from './queue.ts'; import { guidFor } from '@ember/object/internals'; import RSVP from 'rsvp'; -import { FileSource, FileState, UploadOptions } from './interfaces.ts'; +import { FileSource, FileState, type UploadOptions } from './interfaces.ts'; /** * Files provide a uniform interface for interacting