JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
944 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello all,
https://learn.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-angular-auth-code
I am following this guide to the letter, I have cut and copied every line of code exactly. But I ended up with an error... Does anyone know where I went wrong? I just want to get this example working before I go and try to get this to suite my needs for the project. Thanks all in advance!
src/app/app-routing.module.ts:23:5 - error TS2322: Type '"enabled" | "disabled"' is not assignable to type 'InitialNavigation | undefined'.
Type '"enabled"' is not assignable to type 'InitialNavigation | undefined'.
23 initialNavigation: !isIframe ? 'enabled' : 'disabled' // Don't perform initial navigation in iframes
~~~~~~~~~~~~~~~~~