# Idea: use undefined in place of anytype

**URL:** <https://ziggit.dev/t/idea-use-undefined-in-place-of-anytype/15153>\
**Category:** Brainstorming\
**Tags:** language\
**Created:** [April 23, 2026, 7:58pm UTC](https://ziggit.dev/t/idea-use-undefined-in-place-of-anytype/15153 "2026-04-23T19:58:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Verafahn](https://ziggit.dev/user_avatar/ziggit.dev/verafahn/32/9285_2.png) [@Verafahn](https://ziggit.dev/u/Verafahn)\
**Post date:** [April 27, 2026, 2:40pm UTC](https://ziggit.dev/t/idea-use-undefined-in-place-of-anytype/15153/5 "2026-04-27T14:40:39Z")

</div>

I think `infer T` or `@Infer(T)` may be more appropriate semantically.

See [Replace `anytype` with `infer T`](https://ziggit.dev/t/replace-anytype-with-infer-t/15200)

---

_[View the full topic](https://ziggit.dev/t/idea-use-undefined-in-place-of-anytype/15153)._
