* Update baselines from merging with master * Update sourcemap baselines Update sourcemap baselines * Update error baselines * Update baselines as the test-cases already include --module flag with amd * Fix baselines * Update baselines from merging with master. This is a fix in master (issue #8507) and the baselines was udpated in transforms before losing in merging master
54 lines
1.1 KiB
TypeScript
54 lines
1.1 KiB
TypeScript
//// [moduleElementsInWrongContext2.ts]
|
|
function blah () {
|
|
module M { }
|
|
export namespace N {
|
|
export interface I { }
|
|
}
|
|
|
|
namespace Q.K { }
|
|
|
|
declare module "ambient" {
|
|
|
|
}
|
|
|
|
export = M;
|
|
|
|
var v;
|
|
function foo() { }
|
|
export * from "ambient";
|
|
export { foo };
|
|
export { baz as b } from "ambient";
|
|
export default v;
|
|
export default class C { }
|
|
export function bee() { }
|
|
import I = M;
|
|
import I2 = require("foo");
|
|
import * as Foo from "ambient";
|
|
import bar from "ambient";
|
|
import { baz } from "ambient";
|
|
import "ambient";
|
|
}
|
|
|
|
|
|
//// [moduleElementsInWrongContext2.js]
|
|
function blah() {
|
|
export = M;
|
|
var v;
|
|
function foo() { }
|
|
export * from "ambient";
|
|
export { foo };
|
|
export { baz as b } from "ambient";
|
|
export default v;
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
return C;
|
|
}());
|
|
function bee() { }
|
|
import I2 = require("foo");
|
|
import * as Foo from "ambient";
|
|
import bar from "ambient";
|
|
import { baz } from "ambient";
|
|
import "ambient";
|
|
}
|