add strict null check and fix codes
This commit is contained in:
1
index.d.ts
vendored
1
index.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
import { serializedNodeWithId } from './src/types';
|
||||
export * from './src/types';
|
||||
|
||||
export function snapshot(n: Document): serializedNodeWithId | null;
|
||||
export function rebuild(n: serializedNodeWithId): Node | null;
|
||||
|
||||
Reference in New Issue
Block a user