doc: add version info for types
Add version info for types in N-API doc.
Fixes: ttps://github.com/nodejs/node/issues/27486
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines