Skip to content

Commit bf02766

Browse files
committed
[node-core-library] Include an enum that had been missing from the exports.
1 parent 9e17b70 commit bf02766

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

common/reviews/api/node-core-library.api.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ declare class ConsoleTerminalProvider implements ITerminalProvider {
6868
write(data: string, severity: TerminalProviderSeverity): void;
6969
}
7070

71+
// @public
72+
declare const enum Encoding {
73+
// (undocumented)
74+
Utf8 = "utf8"
75+
}
76+
7177
// @public
7278
declare class Executable {
7379
static spawnSync(filename: string, args: string[], options?: IExecutableSpawnSyncOptions): child_process.SpawnSyncReturns<string>;

libraries/node-core-library/src/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ export {
5353
} from './PackageJsonLookup';
5454
export { PackageName, IParsedPackageName, IParsedPackageNameOrError } from './PackageName';
5555
export { Path } from './Path';
56-
export { Text, NewlineKind } from './Text';
56+
export {
57+
Encoding,
58+
Text,
59+
NewlineKind
60+
} from './Text';
5761
export { Sort } from './Sort';
5862
export {
5963
FileSystem,

0 commit comments

Comments
 (0)