Visual Studio Code jquery $ not found when using CDN

As the title says I’m using a CDN to get jQuery. I have installed a jsconfig.json file next to my js files.

{
    "typeAcquisition": {
        "include": [
            "jquery"
        ]
    }
}

That fixes Intellisense but not the not found issue. In other words how do I use a CDN and have VSC think jQuery is available/defined?