短评 · ·

X 归档 2020-02-20

3 条动态 · 图 0 · 视频 2
@tatomyr2 That’s not type-safe:

type Spanish = 'no' | 'sí';
type English = 'no' | 'yes';

const spanishWord: Spanish = 'no';
const englishWord: English = spanishWord;
@tatomyr2 这可不是类型安全的:

type Spanish = 'no' | 'sí';
type English = 'no' | 'yes';

const spanishWord: Spanish = 'no';
const englishWord: English = spanishWord;
Traffic control is awesome
交通控制太厉害了
The new Office App
全新的 Office 应用