-
Notifications
You must be signed in to change notification settings - Fork 10
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
undefined
s not stated
#1
Comments
There is no need to write let d = getSelectedDocument()
function getSelectedDocument(): Document | undefined {
return
} |
your code example seems to be broken. Why is there no need to define an |
@chpio I mean, what does it help if no lint issue raised below? let d = getSelectedDocument()
// no lint issues
console.log(d.pages)
function getSelectedDocument(): Document | undefined {
return undefined
} |
you have to enable |
That makes sense, you are a TS expert. I'll add PS: |
Nah, im somewhat of an expert in rust. Rust doesn't have |
Hi,
undefined
s types seem to be missing in this lib.For example, the
getSelectedDocument
function docs reads as:But the
undefined
is still missing in the ty:The text was updated successfully, but these errors were encountered: