Skip to content

Commit c406834

Browse files
authored
Merge branch 'master' into rudolf-add-types-to-packagejson
2 parents 8c0e3c4 + 463cf93 commit c406834

3 files changed

Lines changed: 22 additions & 1 deletion

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/node-core-library",
5+
"comment": "Include an enum that had been missing from the exports.",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@microsoft/node-core-library",
10+
"email": "iclanton@users.noreply.github.com"
11+
}

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)