mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
This commit tries to correct the module definition to match actual shape of the module: - direct access to exported absolute path function - namespace based access from main module - minor version bump (3.30) - maintainer added - minor cleanup This change should be bacward compatible with pre-existin client code. https://github.com/swagger-api/swagger-ui/blob/master/swagger-ui-dist-package/absolute-path.js https://github.com/swagger-api/swagger-ui/blob/master/swagger-ui-dist-package/index.js https://www.npmjs.com/package/swagger-ui-dist Thanks!
9 lines
266 B
TypeScript
9 lines
266 B
TypeScript
/*
|
|
* getAbsoluteFSPath
|
|
* @return When run in NodeJS env, returns the absolute path to the current directory
|
|
* When run outside of NodeJS, will return an error message
|
|
*/
|
|
declare function getAbsoluteFSPath(): string;
|
|
|
|
export = getAbsoluteFSPath;
|