It's the same issue that this reddit post is about...
# suitescript
e
It's the same issue that this reddit post is about, but it looks to be unsolved - https://www.reddit.com/r/Netsuite/comments/e5y1rs/how_to_properly_use_typescript_to_write/