unsafeDescriptor()
function unsafeDescriptor<T>(): UnsafeDescriptor<T>;
Defined in: packages/core/src/unsafe-descriptor.ts:23
Experimental
Create an unsafe chain descriptor for use in ChainConfig. This descriptor will only be used for type checking and will not be used at runtime to create a Polkadot-API client.
Type Parameters
| Type Parameter | Description |
|---|---|
T extends ChainDefinition | The chain definition type |
Returns
UnsafeDescriptor<T>
A descriptor that will only be used for type checking