Skip to content

Commit

Permalink
Fix getHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
lxsmnsyc committed Sep 13, 2023
1 parent a584b36 commit 6683cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/seroval/src/core/Serializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class Serializer {
}

getHeader(): string {
return 'var ' + this.options.globalIdentifier + '={};' + CROSS_REFERENCE_HEADER;
return this.options.globalIdentifier + '={};' + CROSS_REFERENCE_HEADER;
}

write(key: string, value: unknown): void {
Expand Down

0 comments on commit 6683cee

Please sign in to comment.