-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
Type: BugSomething isn't working as documented, or is being fixedSomething isn't working as documented, or is being fixedtypescriptRelevant to TypeScript users onlyRelevant to TypeScript users only
Description
FYI, with the latest released version, I'm needing to cast to the specific type of authentication result now, where before it felt more like a type union... not sure if this is a surprise or not, but wanted to make you aware.
Updated code to build with 3.3.0:
const installationTokenDetails = await installationAppAuth({ type: 'installation' });
const installationToken = (installationTokenDetails as InstallationAccessTokenAuthentication).token;
Before:
const installationTokenDetails = await installationAppAuth({ type: 'installation' });
const installationToken = installationTokenDetails.token;
Metadata
Metadata
Assignees
Labels
Type: BugSomething isn't working as documented, or is being fixedSomething isn't working as documented, or is being fixedtypescriptRelevant to TypeScript users onlyRelevant to TypeScript users only