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

声明类型相同的变量时,变量的值作为变量的类型? #224

Open
mythFrist opened this issue Apr 13, 2021 · 0 comments
Open

Comments

@mythFrist
Copy link

const foo = 123
const bar: typeof foo = 456
bar 的类型为123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant