Skip to content

Commit

Permalink
refactor: declare arrays consistently across codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjoDiaz committed Dec 12, 2023
1 parent bb4cb00 commit 8734eac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/plainjs/dist/deno/utils/bufferedString.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface StringBuilder {

export class NonBufferedString implements StringBuilder {
private decoder = new TextDecoder("utf-8");
private strings: Array<string> = [];
private strings: string[] = [];
public byteLength = 0;

public appendChar(char: number): void {
Expand Down
2 changes: 1 addition & 1 deletion packages/plainjs/src/utils/bufferedString.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface StringBuilder {

export class NonBufferedString implements StringBuilder {
private decoder = new TextDecoder("utf-8");
private strings: Array<string> = [];
private strings: string[] = [];
public byteLength = 0;

public appendChar(char: number): void {
Expand Down

0 comments on commit 8734eac

Please sign in to comment.