diff --git a/src/tsserverlibrary/tsserverlibrary.ts b/src/tsserverlibrary/tsserverlibrary.ts index caa2e6b1dba33..6d2ea4f2b682b 100644 --- a/src/tsserverlibrary/tsserverlibrary.ts +++ b/src/tsserverlibrary/tsserverlibrary.ts @@ -1 +1,2 @@ -export * from "./_namespaces/ts"; +import * as ts from "./_namespaces/ts"; +export = ts; diff --git a/src/typescript/typescript.ts b/src/typescript/typescript.ts index 8a5136a1eb337..2b6f76c71d418 100644 --- a/src/typescript/typescript.ts +++ b/src/typescript/typescript.ts @@ -15,4 +15,5 @@ if (typeof console !== "undefined") { }; } -export * from "./_namespaces/ts"; +import * as ts from "./_namespaces/ts"; +export = ts;