14 lines
No EOL
236 B
TypeScript
14 lines
No EOL
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() {
|
|
} |