25 lines
426 B
TypeScript
25 lines
426 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";
|
|
});
|