Home > @rushstack/heft-config-file > TestUtilities > stripAnnotations
TestUtilities.stripAnnotations() function
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns an object with investigative annotations stripped, useful for snapshot testing.
Signature:
export declare function stripAnnotations<TObject>(obj: TObject): TObject;
Parameters
Parameter | Type | Description |
|---|---|---|
obj | TObject |
Returns:
TObject