Open the folder in Visual Studio Code. Setup a typescript workspace there.
Set this up in your TSConfig file to support correct path. Restart your client after editing.
At the top of your file add the following with the correct path:
import * as NameOfResource from "resource/path/of/file/from/clientside_packages/directory";