-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.d.ts
35 lines (34 loc) · 960 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
declare module "esbuild-coffeescript" {
type Build = import("esbuild").PluginBuild
interface Options {
/**
* If true, output the source map as a base64-encoded string in a comment at the bottom.
*/
inlineMap?: boolean
/**
* The filename to use for the source map. It can include a path (relative or absolute).
*/
filename?: string
/**
* If true, output without the top-level function safety wrapper.
*/
bare?: boolean
/**
* If true, output the Generated by CoffeeScript header.
*/
header?: boolean
/**
* If set, this must be an object with the options to pass to Babel. See Transpilation.
*/
transpile?: object
/**
* If true, return an abstract syntax tree of the input CoffeeScript source code
*/
ast?: boolean
}
function _exports(options?: Options): {
name: "coffeescript";
setup: (build: Build) => void;
};
export = _exports;
}