Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript Tips #80

Open
iiuhuy opened this issue Feb 4, 2020 · 0 comments
Open

TypeScript Tips #80

iiuhuy opened this issue Feb 4, 2020 · 0 comments

Comments

@iiuhuy
Copy link
Owner

iiuhuy commented Feb 4, 2020

TypeScirpt Tips

操作不变的数组:

  • ReadOnlyArray will make an array only permit immutable operations.
  • ReadOnly<> 泛型

TypeScript 大多数时候都是编译后直接去掉类型!

@iiuhuy iiuhuy changed the title TypeScrpt Tips TypeScript Tips Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant