mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
270 B
Plaintext
10 lines
270 B
Plaintext
//// [tests/cases/conformance/nonjsExtensions/declarationFilesForNodeNativeModules.ts] ////
|
|
|
|
=== main.ts ===
|
|
import mod = require("./dir/native.node");
|
|
>mod : Symbol(mod, Decl(main.ts, 0, 0))
|
|
|
|
mod.doNativeThing("good");
|
|
>mod : Symbol(mod, Decl(main.ts, 0, 0))
|
|
|