Skip to content

asFilePath

function asFilePath(s): FilePath;

Defined in: packages/analyzer/src/types.ts:31

Unchecked branded-string constructors. These are trust-boundary asserts, not validators — producers call them at the edge where a plain string becomes a semantically-typed identifier. No runtime validation is performed.

Parameter Type
s string

FilePath