Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Oct 20, 2024
1 parent f8caae7 commit d8ea411
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions fixtures/input/example-0007.ts
Original file line number Diff line number Diff line change
@@ -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<T> {
name: string
Expand Down
8 changes: 7 additions & 1 deletion fixtures/output/example-0007.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import type { DtsGenerationConfig } from './types'
import type { DtsGenerationConfig } from '@stacksjs/dtsx'

interface Options<T> {
name: string
cwd?: string
defaultConfig: T
}

export declare function loadConfig<T extends Record<string, unknown>>({ name, cwd, defaultConfig }: Options<T>): Promise<T>

Expand Down
7 changes: 5 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"skipLibCheck": true,
"paths": {
"@stacksjs/dtsx": ["./src/index.ts"]
}
}
},
},
"exclude": [
"**/fixtures"
]
}

0 comments on commit d8ea411

Please # to comment.