Skip to content

resetTypescriptLibState

Clears the shared-state bag.

Intended for test isolation: call it before each test so accumulated state does not leak between tests.

Import:

import { resetTypescriptLibState } from '@mnaoumov/typescript-lib/typescript-lib-state';

Signature:

function resetTypescriptLibState(): void

Returns: void