14 lines
236 B
TypeScript
14 lines
236 B
TypeScript
// @allowJs: true
|
|
// @filename: a.ts
|
|
class c {
|
|
}
|
|
|
|
// @filename: b.ts
|
|
/// <reference path="c.js"/>
|
|
// no error on above reference path since not emitting declarations
|
|
function foo() {
|
|
}
|
|
|
|
// @filename: c.js
|
|
function bar() {
|
|
} |