mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
28 lines
884 B
Plaintext
28 lines
884 B
Plaintext
//// [tests/cases/conformance/node/nodeModulesTripleSlashReferenceModeDeclarationEmit6.ts] ////
|
|
|
|
=== /index.ts ===
|
|
import obj from "./uses.js"
|
|
>obj : Symbol(obj, Decl(index.ts, 0, 6))
|
|
|
|
export default (obj as typeof obj);
|
|
>obj : Symbol(obj, Decl(index.ts, 0, 6))
|
|
>obj : Symbol(obj, Decl(index.ts, 0, 6))
|
|
|
|
=== /node_modules/pkg/require.d.ts ===
|
|
export {};
|
|
declare global {
|
|
>global : Symbol(global, Decl(require.d.ts, 0, 10))
|
|
|
|
interface RequireInterface {}
|
|
>RequireInterface : Symbol(RequireInterface, Decl(require.d.ts, 1, 16))
|
|
|
|
function getInterR(): RequireInterface;
|
|
>getInterR : Symbol(getInterR, Decl(require.d.ts, 2, 33))
|
|
>RequireInterface : Symbol(RequireInterface, Decl(require.d.ts, 1, 16))
|
|
}
|
|
=== /uses.ts ===
|
|
/// <reference types="pkg" preserve="true" />
|
|
export default getInterR();
|
|
>getInterR : Symbol(getInterR, Decl(require.d.ts, 2, 33))
|
|
|