snowflake-sdk
Version:
Node.js driver for Snowflake
10 lines (9 loc) • 371 B
TypeScript
export declare const TESTABLE_REQUIRE_REFERENCE: NodeJS.Require | undefined;
/**
* Returns the file path of the main application entry point.
*
* - Uses require.main.filename (CommonJS) as primary source
* - Falls back to process.argv[1] for ESM or worker threads
* - Returns null in REPL or bundlers
*/
export declare function getApplicationPath(): string | null;