next.js
ab1597ab - [ts-next-plugin] fix: warn only if no type for separate export (#78629)

Commit
288 days ago
[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 | |--------|--------| | ![CleanShot 2025-04-28 at 22 55 48@2x](https://github.com/user-attachments/assets/696cfb07-e44c-4541-9486-cf62053f5acc) | ![CleanShot 2025-04-28 at 23 04 31@2x](https://github.com/user-attachments/assets/817d99cb-0dd3-4fb8-84ce-5f298b32185c) |
Author
Parents
Loading