mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
332 B
TypeScript
16 lines
332 B
TypeScript
//// [tests/cases/conformance/salsa/sourceFileMergeWithFunction.ts] ////
|
|
|
|
//// [types.d.ts]
|
|
declare function foo(props: any): any;
|
|
export default foo;
|
|
export as namespace foo;
|
|
|
|
//// [foo.ts]
|
|
/// <reference path="types.d.ts" />
|
|
declare function foo(): any;
|
|
|
|
|
|
//// [foo.js]
|
|
"use strict";
|
|
/// <reference path="types.d.ts" />
|