Type Alias ForbidCharacter<S, Character>

ForbidCharacter: S extends `${string}${Character}${string}` ? never : S

Type Parameters

  • S extends string
  • Character extends string