NBT.stringify is not typed to accept arrays, but it works at runtime.
/**
* Argument of type 'string[]' is not assignable to parameter of type 'RootNBT'.
* Index signature for type 'string' is missing in type 'string[]'
* ts(2345)
*/
NBT.stringify([ "hi" ])
NBT.stringify is not typed to accept arrays, but it works at runtime.