File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -143,11 +143,11 @@ export enum KnownCaipNamespace {
143143}
144144
145145/**
146- * A CAIP chain ID namespaced by a known CAIP namespace (@see { @link KnownCaipNamespace}).
147- * This is a narrower alternative to {@link CaipChainId} .
146+ * A CAIP-2 chain ID that is guaranteed to have a known CAIP namespace
147+ * (@see {@link KnownCaipNamespace}) .
148148 *
149- * This type is necessary because `const` strings are not assignable to the `string` type.
150- * Because of this, e.g. `eip155:${string}` is not assignable to (is not a subtype of) `${string}:${string}` .
149+ * This is a narrower, more type-safe alternative to { @link CaipChainId} for use cases
150+ * where the chain namespace must be one of the known standards .
151151 */
152152export type KnownCaipNamespacedChainId = `${KnownCaipNamespace } :${string } `;
153153
You can’t perform that action at this time.
0 commit comments