I had not noticed and you're right, but there are diagrams that have errors of all kinds.
The important thing in the diagram is to see if it is similar to the one you are looking for.
If you download the datasheet of the transistors, there you will find with which voltage they must work and if you invest they will be damaged.
NPN .... positive
PNP ..... negative