mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
412 B
TypeScript
16 lines
412 B
TypeScript
import { parseDeclarationEntry } from 'tailchat-plugin-declaration-generator';
|
|
import path from 'path';
|
|
|
|
// WIP
|
|
function generateDeclarationFile() {
|
|
const { exportDefs } = parseDeclarationEntry({
|
|
entryPath: path.resolve(__dirname, './test-export.ts'),
|
|
project: {
|
|
tsConfigFilePath: path.resolve(__dirname, '../tsconfig.json'),
|
|
},
|
|
});
|
|
console.log(exportDefs);
|
|
}
|
|
|
|
generateDeclarationFile();
|