Skip to content

⬅️ Back to Table of Contents

📄 literal-type3.ts

📊 Analysis Summary

Metric Count
🔧 Functions 1
📑 Type Aliases 2

📚 Table of Contents

🛠️ File Location:

📂 packages/scope-manager/tests/fixtures/type-declaration/literal-type3.ts

Functions

setAlignment(value:${VerticalAlignment}-${HorizontalAlignment}): void

Code
declare function setAlignment(
  value: `${VerticalAlignment}-${HorizontalAlignment}`,
): void;
  • Parameters:
  • value:${VerticalAlignment}-${HorizontalAlignment}``
  • Return Type: void

Type Aliases

VerticalAlignment

type VerticalAlignment = 'top' | 'middle' | 'bottom';

HorizontalAlignment

type HorizontalAlignment = 'left' | 'center' | 'right';