You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This section verifies that the build of TypeScript compiles and emits
constts=require(lib);
constsource="let x: string = 'string'";
constresults=ts.transpileModule(source,{
compilerOptions: {module: ts.ModuleKind.CommonJS}
});
assert(results.outputText.trim()==="var x = 'string';",`Running typescript with ${packageJsonValue.name} did not return the expected results, got: ${results.outputText}`);