Open xgqfrms opened 3 years ago
primitives: number, string, boolean, undefined, null, symbol, bigint
https://developer.mozilla.org/en-US/docs/Glossary/Primitive
complex: object (Object, Array, Map, Set, Function, Class, Proxy, Reflect, Date, Regex, ...)
https://developer.mozilla.org/en-US/docs/Glossary/Object
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures
TypeScript Types All In One
https://www.typescriptlang.org/play#example/unknown-and-never
https://www.typescriptlang.org/play/?e=83#example/types-vs-interfaces
any, void, unknown, never,
interface, decorator,
<T>
范型, class, Tuple 元组https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html
https://www.typescriptlang.org/docs/handbook/typescript-tooling-in-5-minutes.html
https://www.typescriptlang.org/docs/handbook/utility-types.html
https://www.typescriptlang.org/docs/handbook/advanced-types.html
https://www.typescriptlang.org/docs/handbook/literal-types.html