STRING_GUARD
Accepts a string. Spread it to say what the string is: { ...STRING_GUARD, expected: 'a path' }.
Import:
import { STRING_GUARD } from '@mnaoumov/typescript-lib/api-contract';Signature:
const STRING_GUARD: ExpectedTypeGuard<string>Type: ExpectedTypeGuard<string>