We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81fa162 commit d12a7f1Copy full SHA for d12a7f1
src/bson.ts
@@ -90,8 +90,6 @@ export function setInternalBufferSize(size: number): void {
90
* @public
91
*/
92
export function serialize(object: Document, options: SerializeOptions = {}): Uint8Array {
93
- // @ts-expect-error: i DNE
94
- for (options.i = 0; options.i < 100_000; options.i++);
95
// Unpack the options
96
const checkKeys = typeof options.checkKeys === 'boolean' ? options.checkKeys : false;
97
const serializeFunctions =
0 commit comments