We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8c1fa9 commit 13aa217Copy full SHA for 13aa217
src/JsonSerialisation.ts
@@ -276,7 +276,7 @@ export class JsonSerialisation{
276
return this.JArrayToContainer(token);
277
}
278
279
- if (token == null) // TODO: Check is undefined?
+ if (token === null || token === undefined)
280
return null;
281
282
throw new Error('Failed to convert token to runtime object: ' + JSON.stringify(token));
0 commit comments