We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5316cb0 commit 297ac83Copy full SHA for 297ac83
1 file changed
addons/addon-image/src/IIPHeaderParser.ts
@@ -8,6 +8,7 @@ declare const Buffer: any;
8
9
10
export interface IHeaderFields {
11
+ [key: string]: number | string | Uint32Array | null | undefined;
12
// base-64 encoded filename. Defaults to "Unnamed file".
13
name: string;
14
// File size in bytes. The file transfer will be canceled if this size is exceeded.
@@ -100,7 +101,7 @@ export class HeaderParser {
100
101
private _buffer = new Uint32Array(MAX_FIELDCHARS);
102
private _position = 0;
103
private _key = '';
- public fields: {[key: string]: number | string | Uint32Array | null} = {};
104
+ public fields: {[key: string]: number | string | Uint32Array | null | undefined} = {};
105
106
public reset(): void {
107
this._buffer.fill(0);
0 commit comments