/
BackendTypes.ts
26 lines (21 loc) · 1.13 KB
/
BackendTypes.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
* @module Utils
*/
import type { Readable, Writable } from "stream"; // Must be "import type" to avoid webpack polyfill errors
import type { Buffer } from "buffer"; // Must be "import type" to avoid webpack polyfill errors
/*
IMPORTANT:
This is a temporary source file for backwards compatibility only.
Do not add any new types to this file.
All types here will be removed in 4.0
*/
/** @public @deprecated in 3.x. This type was mistakenly made public in the common scope. */
export type BackendReadable = Readable;
/** @public @deprecated in 3.x. This type was mistakenly made public in the common scope. */
export type BackendWritable = Writable;
/** @internal @deprecated in 3.x. This type was mistakenly made public in the common scope. */
export type BackendBuffer = Buffer;