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.
tailchat/packages/plugin-declaration-generator/test/index.ts

12 lines
228 B
TypeScript

import { parseFile } from '../src/tsgenerator';
import path from 'path';
const { exportModules } = parseFile(
path.resolve(__dirname, './demo/index.ts'),
{
paths: { '@/*': ['./*'] },
}
);
console.log(exportModules);