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 60d190c commit 3c44dba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/extract.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { readFile } from 'node:fs/promises'
import { formatDeclarations } from './utils'

export async function extractTypeFromSource(filePath: string): Promise<string> {
const fileContent = await readFile(filePath, 'utf-8')
const fileContent = await Bun.file(filePath).text()
let imports = ''
let declarations = ''
let exports = ''
Expand Down

0 comments on commit 3c44dba

Please sign in to comment.