X Tutup
Skip to content

Exception trying to read symbol from undefined type#1326

Merged
Perryvw merged 3 commits intomasterfrom
undefined-call
Aug 11, 2022
Merged

Exception trying to read symbol from undefined type#1326
Perryvw merged 3 commits intomasterfrom
undefined-call

Conversation

@Perryvw
Copy link
Member

@Perryvw Perryvw commented Aug 10, 2022

Seems problem is that if you set strict=true, TS inserts a bunch of undefined types, and if you try to call something that is possibly undefined (should be disallowed by TS, but we also try to transform incorrect code), this symbol could be undefined causing an exception.

Fixes #1325

@Perryvw Perryvw merged commit e545192 into master Aug 11, 2022
@Perryvw Perryvw deleted the undefined-call branch August 11, 2022 13:24
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

Successfully merging this pull request may close these issues.

Cannot read properties of undefined (reading 'parent')

2 participants

X Tutup