diff --git a/packages/ebec/src/module.ts b/packages/ebec/src/module.ts index 6285ea3..f863460 100644 --- a/packages/ebec/src/module.ts +++ b/packages/ebec/src/module.ts @@ -5,7 +5,7 @@ * view the LICENSE file that was distributed with this source code. */ -import { Options } from './type'; +import type { Options } from './type'; import { buildMessage, buildOptions, hasOwnProperty } from './utils'; export class BaseError extends Error { diff --git a/packages/ebec/src/utils/message.ts b/packages/ebec/src/utils/message.ts index 4705455..87430d8 100644 --- a/packages/ebec/src/utils/message.ts +++ b/packages/ebec/src/utils/message.ts @@ -5,7 +5,7 @@ * view the LICENSE file that was distributed with this source code. */ -import { Options } from '../type'; +import type { Options } from '../type'; export function buildMessage( data?: string | Error | Options, diff --git a/packages/ebec/src/utils/options.ts b/packages/ebec/src/utils/options.ts index 31d7dbd..89732ac 100644 --- a/packages/ebec/src/utils/options.ts +++ b/packages/ebec/src/utils/options.ts @@ -6,7 +6,7 @@ */ import { merge } from 'smob'; -import { Options } from '../type'; +import type { Options } from '../type'; /** * Deep merge two objects. diff --git a/packages/ebec/test/unit/module.spec.ts b/packages/ebec/test/unit/module.spec.ts index 81d6e14..f61b253 100644 --- a/packages/ebec/test/unit/module.spec.ts +++ b/packages/ebec/test/unit/module.spec.ts @@ -5,7 +5,8 @@ * view the LICENSE file that was distributed with this source code. */ -import { BaseError, Options } from '../../src'; +import type { Options } from '../../src'; +import { BaseError } from '../../src'; describe('src/module.ts', () => { it('should create instance with message', () => { diff --git a/packages/ebec/test/unit/utils/error-options.spec.ts b/packages/ebec/test/unit/utils/error-options.spec.ts index 96de7bd..c1183bc 100644 --- a/packages/ebec/test/unit/utils/error-options.spec.ts +++ b/packages/ebec/test/unit/utils/error-options.spec.ts @@ -5,8 +5,9 @@ * view the LICENSE file that was distributed with this source code. */ +import type { Options } from '../../../src'; import { - BaseError, Options, buildOptions, mergeOptions, + BaseError, buildOptions, mergeOptions, } from '../../../src'; describe('src/utils/error-options.ts', () => {