@devlander/collect-exports-for-bundle
Version:
Generate comprehensive export files for TypeScript/JavaScript projects with Rollup compatibility
27 lines (26 loc) • 853 B
TypeScript
export declare const myConstFunc: () => string;
export declare const myConstVariable = "myValue";
export declare const myConstObject: {
myConstFunc: () => string;
};
export declare function myFuncFunc(): string;
export declare var myVarFunc: () => string;
export declare var myVarVariable: string;
export declare var myVarObject: {
myVarFunc: () => string;
myVarVariable: string;
};
export declare let myLetFunc: () => string;
export declare let myLetObject: {
myLetFunc: () => string;
};
export declare let myLetVariable: string;
export declare class MyClass {
myFunc(): string;
}
export declare enum MyEnum {
myValue = "Hello World"
}
declare const myConstThatWillBeExported = "";
export declare const myConstWithMultipleParameters: (a: string, b: string, c: string, d: string) => string;
export { myConstThatWillBeExported };