[typescript]type literal

Tue Feb 11

typescript

Author:Noritaka

Astro
const apple: 'apple' = 'apple';
const pine: 0 = 0;
const peach: true = true;

typescript