Commit 61974b0
Use objectFlags&ObjectFlagsClassOrInterface guard instead of AsInterfaceType() != nil
Follow codebase convention of checking objectFlags before calling
AsInterfaceType(), matching how other callers protect against
non-interface types.
Agent-Logs-Url: https://github.com/microsoft/typescript-go/sessions/8ef1747a-398d-4fe9-a151-2b721a5249ce
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>1 parent 4d31416 commit 61974b0
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1041 | 1041 | | |
1042 | 1042 | | |
1043 | 1043 | | |
1044 | | - | |
| 1044 | + | |
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
| |||
0 commit comments