It's a bit strange, but you have to first set in the constructor to make internal changes in StaveNote: const note = new Vex.Flow.StaveNote({keys: ["c/4"], duration: "q", dots: 1 }
And after you have to add a modifier to display the dot: note.addModifier(new Dot())