Installation
npm install --save @types/umd
Summary
This package contains type definitions for umd (https://github.com/ForbesLindesay/umd).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/umd.
index.d.ts
/** Universal Module Definition for use in automated build systems
* - simple synchronous wrapping of a string
* - return style module support
* - CommonJS support
* - prevents internal UMDs from conflicting
*/
declare function Umd(name: string, src: string, options?: boolean | Umd.Options): string;
declare namespace Umd {
interface Options {
commonJS?: boolean | undefined;
}
function prelude(moduleName: string, options?: boolean | Options): string;
function postlude(moduleName: string, options?: boolean | Options): string;
}
export = Umd;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by TeamworkGuy2.