how to declare array of strings mongoose node code example
Example 1: js array of strings mongoose
var personSchema = new mongoose.Schema({
tags: [{
type: String
}]
Example 2: Typegoose array of strings
@arrayProp({ items: String }) public languages?: string[];