Files
30-seconds-of-code/node_modules/rollup/dist/typings/ExternalModule.d.ts
2019-08-20 15:52:05 +02:00

34 lines
914 B
TypeScript

import ExternalVariable from './ast/variables/ExternalVariable';
import Graph from './Graph';
import Variable from './ast/variables/Variable';
import { OutputOptions } from './rollup';
export default class ExternalModule {
private graph;
chunk: void;
declarations: {
[name: string]: ExternalVariable;
};
exportsNames: boolean;
exportsNamespace: boolean;
id: string;
renderPath: string;
isExternal: true;
isEntryPoint: false;
name: string;
mostCommonSuggestion: number;
nameSuggestions: {
[name: string]: number;
};
reexported: boolean;
used: boolean;
execIndex: number;
constructor({graph, id}: {
graph: Graph;
id: string;
});
setRenderPath(options: OutputOptions, inputPath: string): void;
suggestName(name: string): void;
warnUnusedImports(): void;
traceExport(name: string): Variable;
}