Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlyu123 committed Oct 25, 2024
1 parent 3a72859 commit 5ec41e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/svelte2tsx/src/svelte2tsx/nodes/ExportedNames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -550,9 +550,9 @@ export class ExportedNames {
* Adds export to map
*/
private addExport(
name: ts.Identifier,
name: ts.ModuleExportName,
isLet: boolean,
target: ts.Identifier = null,
target: ts.ModuleExportName = null,
type: ts.TypeNode = null,
required = false,
isNamedExport = false
Expand Down Expand Up @@ -601,7 +601,7 @@ export class ExportedNames {
});
}

private getDoc(target: ts.BindingName) {
private getDoc(target: ts.BindingName | ts.ModuleExportName) {
let doc = undefined;
// Traverse `a` one up. If the declaration is part of a declaration list,
// the comment is at this point already
Expand Down

0 comments on commit 5ec41e9

Please sign in to comment.