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

docusaurus config has relaxed tsc settings #323

Open
avkonst opened this issue Aug 7, 2022 · 0 comments
Open

docusaurus config has relaxed tsc settings #323

avkonst opened this issue Aug 7, 2022 · 0 comments
Labels
documentation An issue requires changes in the documentation only hookstate-5 Features postponed for v5 plugin An issue affects a plugin

Comments

@avkonst
Copy link
Owner

avkonst commented Aug 7, 2022

this code compiles in docs code samples, but it should not:

    let aa: (v: {}) => void = (v: { prop: 1 }) => { }

a well as this is not trapped by tsc:

    let aa: (v: {}) => void = (v: { prop: number }) => { v.prop = 2 }

@avkonst avkonst added documentation An issue requires changes in the documentation only plugin An issue affects a plugin hookstate-5 Features postponed for v5 labels Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation An issue requires changes in the documentation only hookstate-5 Features postponed for v5 plugin An issue affects a plugin
Projects
None yet
Development

No branches or pull requests

1 participant