Hide the private API of the NodeJS integration

Hide it behind a `private_api` property in the module export.
This commit is contained in:
Simon Hausmann 2020-10-20 16:52:28 +02:00
parent 4bc72ec6b3
commit f6d8f78e3f
2 changed files with 8 additions and 6 deletions

View file

@ -119,6 +119,8 @@ class ArrayModel<T> {
}
}
native.ArrayModel = ArrayModel;
module.exports = native;
module.exports = {
private_api: native,
ArrayModel: ArrayModel
};