Skip to content

Commit 297ac83

Browse files
committed
Fix build
1 parent 5316cb0 commit 297ac83

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

addons/addon-image/src/IIPHeaderParser.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ declare const Buffer: any;
88

99

1010
export interface IHeaderFields {
11+
[key: string]: number | string | Uint32Array | null | undefined;
1112
// base-64 encoded filename. Defaults to "Unnamed file".
1213
name: string;
1314
// File size in bytes. The file transfer will be canceled if this size is exceeded.
@@ -100,7 +101,7 @@ export class HeaderParser {
100101
private _buffer = new Uint32Array(MAX_FIELDCHARS);
101102
private _position = 0;
102103
private _key = '';
103-
public fields: {[key: string]: number | string | Uint32Array | null} = {};
104+
public fields: {[key: string]: number | string | Uint32Array | null | undefined} = {};
104105

105106
public reset(): void {
106107
this._buffer.fill(0);

0 commit comments

Comments
 (0)