// @ts-check // If won't use `@ts-check` - just remove that comments (with `@type` JSDoc below). /** @type import('dts-bundle-generator/config-schema').OutputOptions */ const commonOutputParams = { inlineDeclareGlobals: false, sortNodes: true, }; /** @type import('dts-bundle-generator/config-schema').BundlerConfig */ const config = { compilationOptions: { preferredConfigPath: './tsconfig.json', }, entries: [ { filePath: './src/index.ts', outFile: './dist/index.d.ts', noCheck: false, libraries: { importedLibraries: ['node', '@types/node'], inlinedLibraries: ['@fluencelabs/avm', '@fluencelabs/marine-js'], }, output: commonOutputParams, }, ], }; module.exports = config;