[ts-next-plugin] fix: warn only if no type for separate export (#78629)
### Why?
The "separate export" was not warning correctly. It is because the
`symbol.declaration` is a declaration from the export clause. Needed to
get from `originalSymbol.declaration`.
| Before | After |
|--------|--------|
| 
| 
|