Skip to content

Commit b87d6bc

Browse files
authored
fix: remove type assertion (#64)
1 parent 8ad1210 commit b87d6bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/implementation/c/compilation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class Compilation {
8484
const limit = Math.min(buffer.length, i + BLOB_GROUP_SIZE);
8585
const hex: string[] = [];
8686
for (let j = i; j < limit; j++) {
87-
const value = buffer[j] as number;
87+
const value = buffer[j];
8888

8989
const ch = String.fromCharCode(value);
9090
// `'`, `\`

0 commit comments

Comments
 (0)