Azi
02/05/2020, 6:03 PM@hitc/netsuite-types - npm
for writing Suitescript in Typescript? If yes does anyone know how to import custom libraries or utility files with it.
(Please leave out all your hateful responses to Typescript and only respond to the question š)alien4u
02/05/2020, 6:11 PMstalbert
02/05/2020, 6:13 PMN/
modulesstalbert
02/05/2020, 6:14 PMstalbert
02/05/2020, 6:15 PMmayerlench
02/05/2020, 6:16 PMmayerlench
02/05/2020, 6:16 PMstalbert
02/05/2020, 6:17 PMtsconfig.json
if you're using relative paths to reach that module e.g. import { foo } from "../mylibs/foolib"
mayerlench
02/05/2020, 6:19 PMstalbert
02/05/2020, 6:19 PM@hitc/netsuite-types
for type definitions is orthogonal to how you import custom libraries. netsuite-types is just a types description of all the native modules, no implementation.mayerlench
02/05/2020, 6:20 PMstalbert
02/05/2020, 6:21 PMstalbert
02/05/2020, 6:21 PMmayerlench
02/05/2020, 6:23 PMdbarnett
02/05/2020, 8:26 PMstalbert
02/05/2020, 10:07 PMstalbert
02/05/2020, 10:08 PMdbarnett
02/05/2020, 10:16 PMdbarnett
02/05/2020, 10:18 PMstalbert
02/06/2020, 3:09 AMtsc
can typecheck against JSDOC comments in pure JS files (i.e. get type checking without any TypeScript defined types anywhere to be found)dbarnett
02/06/2020, 3:32 AM