We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78f51b3 commit 5d17c51Copy full SHA for 5d17c51
src/extract.ts
@@ -1,6 +1,6 @@
1
import { readFile } from 'node:fs/promises'
2
3
-async function extractTypeFromSource(filePath: string): Promise<string> {
+export async function extractTypeFromSource(filePath: string): Promise<string> {
4
const fileContent = await readFile(filePath, 'utf-8')
5
let declarations = ''
6
let usedTypes = new Set<string>()
0 commit comments