Skip to content

Commit

Permalink
fix: add missing name and names to ESMExport interface (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
flozero committed Oct 22, 2021
1 parent 5af8c02 commit c5eacfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/analyze.ts
Expand Up @@ -28,7 +28,9 @@ export interface ESMExport {
type: 'declaration' | 'named' | 'default',
code: string
start: number
end: number
end: number,
name?: string,
names?: string[]
}

export interface DeclarationExport extends ESMExport {
Expand Down

0 comments on commit c5eacfb

Please sign in to comment.