From 234a6453a93700b403fd8452f3ff77cf4166c628 Mon Sep 17 00:00:00 2001 From: Eugene Sh Date: Tue, 15 Jun 2021 17:49:06 +0300 Subject: [PATCH] switch from typescript to diff syntax now it's proper syntax, based on @OrkoHunter's suggestion. Signed-off-by: Eugene S --- contrib/docs/tutorials/authenticate-api-requests.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/docs/tutorials/authenticate-api-requests.md b/contrib/docs/tutorials/authenticate-api-requests.md index 3b2a8f05d1..16b753bc84 100644 --- a/contrib/docs/tutorials/authenticate-api-requests.md +++ b/contrib/docs/tutorials/authenticate-api-requests.md @@ -186,7 +186,7 @@ const app = createApp({ In case you already have a dozen of internal ones, you may need to update those too. Assuming you follow the common plugin structure, the changes to your front-end may look like: -```typescript +```diff // plugins/internal-plugin/src/api.ts -- import {createApiRef} from '@backstage/core'; ++ import {createApiRef, IdentityApi} from '@backstage/core'; @@ -229,7 +229,7 @@ export class MyApi implements MyInterface { and -```typescript +```diff // plugins/internal-plugin/src/plugin.ts import {