uint8_t versus byte in libraries in Particle Dev

I am working on some custom libraries and like working local as opposed to on github. Anytime I use byte in the library the Particle Dev compiler throws an error of the compiler timed out or encountered an error. If I use uint8_t as opposed to byte it works fine. Also byte does not pick up color coding in Particle Dev. Byte works fine if it is in the main .ino file, but not in libraries. Is this a known issue?

Have you got #include "Particle.h" in your lib files?

That was it. Thank you!