require the use of node prefix on native imports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
```ts
|
||||
import { JsonObject } from '@backstage/types';
|
||||
import { Permission } from '@backstage/plugin-permission-common';
|
||||
import { Readable } from 'stream';
|
||||
import { Transform } from 'stream';
|
||||
import { Writable } from 'stream';
|
||||
import { Readable } from 'node:stream';
|
||||
import { Transform } from 'node:stream';
|
||||
import { Writable } from 'node:stream';
|
||||
|
||||
// @public
|
||||
export interface DocumentCollatorFactory {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Writable } from 'stream';
|
||||
import { Writable } from 'node:stream';
|
||||
import { SearchQuery, IndexableResultSet } from './types';
|
||||
|
||||
/**
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import { Permission } from '@backstage/plugin-permission-common';
|
||||
import { JsonObject } from '@backstage/types';
|
||||
import { Readable, Transform } from 'stream';
|
||||
import { Readable, Transform } from 'node:stream';
|
||||
|
||||
/**
|
||||
* @public
|
||||
|
||||
Reference in New Issue
Block a user