26 lines
458 B
TypeScript
26 lines
458 B
TypeScript
//// [tests/cases/compiler/bangInModuleName.ts] ////
|
|
|
|
//// [a.d.ts]
|
|
|
|
|
|
declare module "http" {
|
|
}
|
|
|
|
declare module 'intern/dojo/node!http' {
|
|
import http = require('http');
|
|
export = http;
|
|
}
|
|
|
|
//// [a.ts]
|
|
|
|
/// <reference path="a.d.ts"/>
|
|
|
|
import * as http from 'intern/dojo/node!http';
|
|
|
|
//// [a.js]
|
|
/// <reference path="a.d.ts"/>
|
|
define(["require", "exports"], function (require, exports) {
|
|
"use strict";
|
|
exports.__esModule = true;
|
|
});
|