node-gyp
node-gyp copied to clipboard
Is there any way to remove type checking for the paramters
When compiling with no flags (Just "node-gyp build") it type checks the parameters. For example, putting in a string as a parameter returns an Error like
addon.New("String");
^
TypeError: A number was expected
How do I remove this functionality? I'm making a wrapper for a native library and I don't need the extra type checking.
Node Version: v18.1.0 and 8.5.5 Platform: Arch Linux Compiler: 12.1.0 (GCC)