make:<T,Sextendsstring=string>( identifier:[Name<S>]extends[never] ?`Invalid NSID "${S}": final segment must be camelCase (no hyphens)` :S, )=>Capability.InterfaceDef<T> = ...
Helper to define the interface of a capability.
Static NSID strings are validated at compile time via DXN.Name.
Type declaration
<T,Sextendsstring=string>( identifier:[Name<S>]extends[never] ?`Invalid NSID "${S}": final segment must be camelCase (no hyphens)` :S, ):Capability.InterfaceDef<T>
Type Parameters
T
Sextendsstring = string
Parameters
identifier: [Name<S>]extends[never] ?`Invalid NSID "${S}": final segment must be camelCase (no hyphens)` :S
Helper to define the interface of a capability. Static NSID strings are validated at compile time via DXN.Name.