codesamplex

サンプル

Preserve string interpolation and argument types across Chalk styling calls without tagged-template array concatenation or silent Object coercion

sha256:82b00788c1e285d6dea83a1df814eea768a2def744ca9905992c4c16344b5a5f

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Preserve string interpolation and argument types across Chalk styling calls without tagged-template array concatenation or silent Object coercion HOW
パッケージ
chalk 5.4.1
環境
node
作成日
2026-08-16T16:10:40Z

よくある思い込み

Calling Chalk style functions as tagged template literals interpolates expressions at their placeholder positions within the styled template string.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート