make:<Textendsstring>( nsid:[Name<T>]extends[never] ?`Invalid NSID "${T}": final segment must be camelCase (no hyphens)` :T, version?:string, )=>DXN.DXN
Constructs a DXN from an NSID (and optional version). Throws if the result
is not a valid DXN. Use tryMake for non-throwing string parsing.
Static NSID strings are validated at compile time via Name:
the final segment must be camelCase (no hyphens). Template-literal strings
with a runtime prefix are accepted here but still validated at runtime.
Type declaration
<Textendsstring>( nsid:[Name<T>]extends[never] ?`Invalid NSID "${T}": final segment must be camelCase (no hyphens)` :T, version?:string, ):DXN.DXN
Type Parameters
Textendsstring
Parameters
nsid: [Name<T>]extends[never] ?`Invalid NSID "${T}": final segment must be camelCase (no hyphens)` :T
Constructs a DXN from an NSID (and optional version). Throws if the result is not a valid DXN. Use
tryMakefor non-throwing string parsing.Static NSID strings are validated at compile time via Name: the final segment must be camelCase (no hyphens). Template-literal strings with a runtime prefix are accepted here but still validated at runtime.