tsconfig-jsdoc
Version:
Strict tsconfig files for use with jsdoc types
12 lines (10 loc) • 480 B
TypeScript
declare interface ImportMeta {
/**
* The full URL to the module, includes query parameters and/or hash (following the `?` or `#`). In browsers, this is either the URL from which the script was obtained (for external scripts), or the URL of the containing document (for inline scripts).
*/
url: string;
/**
* Resolves a module specifier to a URL using the current module's URL as base.
*/
resolve(specifier: string): string;
}