@jitl/notion-api
Version:
The missing companion library for the official Notion public API.
10 lines (9 loc) • 326 B
TypeScript
/// <reference types="node" />
import { NotionClient } from '..';
export interface ExampleContext {
name: string;
notion: NotionClient;
database_id: string;
page_id: string;
}
export declare function runExample(module: NodeJS.Module, name: string, fn: (context: ExampleContext) => void | Promise<void>): void;