Prettify
code:ts
type Prettify<T> = {
} & {};
VS Codeใงใใใผใงๅ่ฆใใจใใซใใๆใใซใใใใค
&ใจใใใใๆใใซๅไฝใใใ
generic typeใๅฑ้ใใใใ
ๅฎ็พฉๅ
ๅฎน่ชไฝใฏใใชใใปใฉใจใใๆใใใใ
ใชใใๆๅพใซ& {}ใๅฟ
่ฆ
Does this make it likely to break in the future? No - TypeScript has tests to ensure that this code won't break, so you can consider Prettify safe to use.
ใจใฎใใจใงใๅ
ๅฎน็ใซใฏใใใฏ็ใ ใใไฝฟใฃใฆ่ฏใ