Skip to content

pjchender/mopcon-2021

Repository files navigation

MOPCON 2021 - 用 Type 建立 Type:一起來當個 TypeScript 的型別魔術師

用 Type 建立 Type:一起來當個 TypeScript 的型別魔術師

使用 Type 或 Interface?

For the most part, you can choose based on personal preference, and TypeScript will tell you if it needs something to be the other kind of declaration. If you would like a heuristic, use interface until you need to use features from type. ref Differences Between Type Aliases and Interfaces @ TypeScript

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published