update declaration file

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 9e3e590935
commit 546743004b
5 changed files with 10 additions and 6 deletions

8
index.d.ts vendored
View File

@@ -1,4 +1,4 @@
declare module 'rollup-plugin-typescript' {
function typescript(): any;
export = typescript;
}
import { serializedNodeWithId } from './src/types';
export function snapshot(n: Document): serializedNodeWithId | null;
export function rebuild(n: serializedNodeWithId): Node | null;