# Use of undeclared type "ResourceType"

**URL:** <https://forums.kodeco.com/t/use-of-undeclared-type-resourcetype/44375>\
**Category:** Server Side Swift with Vapor\
**Created:** [July 5, 2018, 8:46pm UTC](https://forums.kodeco.com/t/use-of-undeclared-type-resourcetype/44375 "2018-07-05T20:46:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjjeeerrr111](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jjjeeerrr111/32/81494_2.png) [@jjjeeerrr111](https://forums.kodeco.com/u/jjjeeerrr111)\
**Post date:** [July 5, 2018, 8:46pm UTC](https://forums.kodeco.com/t/use-of-undeclared-type-resourcetype/44375/1 "2018-07-05T20:46:47Z")

</div>

Never mind this was a TYPO!!!

on p.176 when setting up the resource request in the TILApp ios project the compiler does not recognize the generic RecourseType in the getAll() function.

Not sure whats going on here.

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [July 5, 2018, 8:57pm UTC](https://forums.kodeco.com/t/use-of-undeclared-type-resourcetype/44375/2 "2018-07-05T20:57:52Z")

</div>

@0xtim Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![0xtim](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/0xtim/32/111111_2.png) [@0xtim](https://forums.kodeco.com/u/0xtim)\
**Post date:** [July 6, 2018, 2:02pm UTC](https://forums.kodeco.com/t/use-of-undeclared-type-resourcetype/44375/3 "2018-07-06T14:02:12Z")

</div>

@jjjeeerrr111 Glad it’s sorted!
