Skip to content

SizeCalculatorOptions

SizeCalculatorOptions configures a SizeCalculator instance.

optional maxDepth?: number

maxDepth is the object depth limit before the result saturates to MAX_UINT32.


optional maxTraversal?: number

maxTraversal is the node traversal limit before the result saturates to MAX_UINT32.