update declaration file

This commit is contained in:
Yanzhen Yu
2018-10-06 22:27:49 +08:00
parent bfe431e99a
commit b536f12064
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;