scaffolder-react: fix API report warning

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-02-21 15:04:15 +01:00
parent 9913f61e7a
commit aa5ed47b39
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -22,6 +22,7 @@ import { PropsWithChildren } from 'react';
import { default as React_2 } from 'react';
import { ReactNode } from 'react';
import { RJSFSchema } from '@rjsf/utils';
import { ScaffolderTaskOutput } from '@backstage/plugin-scaffolder-react';
import { SetStateAction } from 'react';
import { TemplateEntityV1beta3 } from '@backstage/plugin-scaffolder-common';
import { TemplateParameterSchema } from '@backstage/plugin-scaffolder-react';
@@ -217,9 +218,5 @@ export type WorkflowProps = {
| 'layouts'
>;
// Warnings were encountered during analysis:
//
// src/next/components/TemplateOutputs/DefaultTemplateOutputs.d.ts:9:5 - (ae-forgotten-export) The symbol "ScaffolderTaskOutput" needs to be exported by the entry point alpha.d.ts
// (No @packageDocumentation comment for this package)
```
@@ -16,7 +16,7 @@
import React from 'react';
import { Box, Paper } from '@material-ui/core';
import { LinkOutputs } from './LinkOutputs';
import { ScaffolderTaskOutput } from '../../../api';
import { ScaffolderTaskOutput } from '@backstage/plugin-scaffolder-react';
/**
* The DefaultOutputs renderer for the scaffolder task output