Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

stampObserved

ソース

APIの説明は英語のcanonical sourceを表示しています。

Return a copy of `node` stamped with observation provenance, identity, and sync metadata. Never mutates the input (callers build node lists with `.map(stampObserved…)`). Existing identity/metadata are preserved and only overlaid with the supplied values.

stampObserved(node: Node, options: StampObservedOptions): Node

パラメーター

名前 説明 既定値
node Node 追加説明はありません。
options StampObservedOptions 追加説明はありません。

戻り値

Node

libs/@shumoku/core/src/plugin-kit/stamp.ts:98