mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-26 10:43:51 -05:00
"Annotate" exported object to fix named / namespace imports of our API in Node ESM (#57133)
This commit is contained in:
@@ -2,7 +2,6 @@ import {
|
||||
Debug,
|
||||
LogLevel,
|
||||
} from "./_namespaces/ts";
|
||||
import * as ts from "./_namespaces/ts";
|
||||
|
||||
// enable deprecation logging
|
||||
declare const console: any;
|
||||
@@ -23,4 +22,4 @@ if (typeof console !== "undefined") {
|
||||
};
|
||||
}
|
||||
|
||||
export = ts;
|
||||
export * from "./_namespaces/ts";
|
||||
|
||||
Reference in New Issue
Block a user