Files
klz-cables.com/.pnpm-store/v10/files/2f/c99a6982fd3906837c4e01a6b9fc7fb08b1d3447c21bfbeb64e1322c3d790d8de8fb6c1fdb305720efeb0e9d0f8de88c3863b84793b58f9c9d91598be40a7d
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

37 lines
999 B
Plaintext

import { expectType, expectAssignable } from 'tsd'
import type { SonicBoom } from "sonic-boom";
import {
destination,
LevelMapping,
levels,
Logger,
multistream,
MultiStreamRes,
SerializedError,
stdSerializers,
stdTimeFunctions,
symbols,
transport,
version,
} from "../../pino";
import pino from "../../pino";
expectType<SonicBoom>(destination(""));
expectType<LevelMapping>(levels);
expectType<MultiStreamRes>(multistream(process.stdout));
expectType<SerializedError>(stdSerializers.err({} as any));
expectType<string>(stdTimeFunctions.isoTime());
expectType<string>(stdTimeFunctions.isoTimeNano());
expectType<string>(version);
// Can't test against `unique symbol`, see https://github.com/SamVerschueren/tsd/issues/49
expectAssignable<Symbol>(symbols.endSym);
// TODO: currently returns (aliased) `any`, waiting for strong typed `thread-stream`
transport({
target: '#pino/pretty',
options: { some: 'options for', the: 'transport' }
});