UNPKG

@httpx/assert

Version:
12 lines (9 loc) 416 B
import { N as NumberSafeInt } from './number.types-HJ_Vc3cK.cjs'; import { M as MsgOrErrorFactory } from './internal.types-D5VRBw-5.cjs'; import './opaque.types-Dc5fGlwR.cjs'; /** * Assert string is not empty (trims the string by default) * @throws TypeError */ declare function assertNumberSafeInt(v: unknown, msgOrErrorFactory?: MsgOrErrorFactory): asserts v is NumberSafeInt; export { assertNumberSafeInt };