`@forge/bridge` types for `LicensingData` are wrong

Correct types here:

Incorrect types here: https://www.npmjs.com/package/@forge/bridge?activeTab=code

How does this happen? You actually have the correct types in the documentation but not in the actual code itself - the thing that’s pretty trivial to test automatically.

For everyone else, here’s your workaround

import { LicenseDetails } from "@forge/bridge/out/types";

type WithCapabilitySet<T> = T&{ capabilitySet: 'capabilityStandard' | 'capabilityAdvanced' | null };
type RealLicenseDetails = WithCapabilitySet<LicenseDetails>

Sorry for anyone who saw the first version of this - actually, the interface defined in the docs is ALSO WRONG

The valid strings are capabilityStandard (capital S) and capabilityAdvanced (capital A). These are confirmed experimentally.

I would recommend checking these case-insensitively.