#✅ Errors on empty endpoint extension

1 messages · Page 1 of 1 (latest)

solemn galleon
#

I have created an empty endpoint extensions and I got this error, isn't it this typed?

modest wagonBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

late swan
#

Indeed they are not.

solemn galleon
#

And there is a way to type if like it was express for example? I'm new to this

late swan
#

Yeah you can tag on the express types however that will me missing some Directus specific properties like accountability

solemn galleon
#

I found this, that could works? Ignore the error on the first line

late swan
#

I found this, that could works?
Sure that could work, have you tried it?

solemn galleon
#

I will try it now

#

The only thing I dont know where I have to save this and what name need to have the file

modest wagonBOT
#

✅ Errors on empty endpoint extension