diff --git a/fixtures/input/example-0007.ts b/fixtures/input/example-0007.ts index c184568..4e2d67b 100644 --- a/fixtures/input/example-0007.ts +++ b/fixtures/input/example-0007.ts @@ -1,8 +1,8 @@ -import type { DtsGenerationConfig } from './types' +import type { DtsGenerationConfig } from '@stacksjs/dtsx' import { existsSync } from 'node:fs' import { resolve } from 'node:path' import process from 'node:process' -import { deepMerge } from './utils' +import { deepMerge } from '@stacksjs/dtsx' interface Options { name: string diff --git a/fixtures/output/example-0007.d.ts b/fixtures/output/example-0007.d.ts index 43db969..9c15ea2 100644 --- a/fixtures/output/example-0007.d.ts +++ b/fixtures/output/example-0007.d.ts @@ -1,4 +1,10 @@ -import type { DtsGenerationConfig } from './types' +import type { DtsGenerationConfig } from '@stacksjs/dtsx' + +interface Options { + name: string + cwd?: string + defaultConfig: T +} export declare function loadConfig>({ name, cwd, defaultConfig }: Options): Promise diff --git a/tsconfig.json b/tsconfig.json index d989d02..921eac6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -23,6 +23,9 @@ "skipLibCheck": true, "paths": { "@stacksjs/dtsx": ["./src/index.ts"] - } - } + }, + }, + "exclude": [ + "**/fixtures" + ] }