Skip to main content
Module

x/polkadot/types/types/index.ts>__Sanitize

Package publishing for deno.land/x/polkadot
Go to Latest
type alias __Sanitize
import { type __Sanitize } from "https://deno.land/x/polkadot@0.2.40/types/types/index.ts";

Type Parameters

K extends string
definition: K extends ` ${infer X}` | `${infer X} ` | ` ${infer X} ` ? __Sanitize<X> : K extends `${infer A} ${infer B}` ? __Sanitize<`${A}${B}`> : K extends `${infer A};${string}]${infer B}` ? __Sanitize<`${A}${B}`> : K extends `${infer X};${string}]` ? __Sanitize<X> : K