Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/sxzz/rolldown-plugin-dts. A Rolldown plugin to generate and bundle dts files.
Something went wrong. Try again.
123456789101112import process from 'node:process'import { createBirpc } from 'birpc'import { tscEmit } from './index.ts'
const functions: { tscEmit: typeof tscEmit } = { tscEmit }export type TscFunctions = typeof functions
createBirpc(functions, { post: (data) => process.send!(data), on: (fn) => process.on('message', fn),})