docs: update TypeScript documentation and fix whitespace in nlp/lda declarations
#12730
+4
−3
nlp/lda declarations
#12730