/
githubmirror
/
reveal.js
Обзор
Документация
Войти
/
githubmirror
/
reveal.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
plugin/notes/index.ts
13 строк
342 B
Hakim El Hattab
plugin type improvements
10 мар 2026, 14:29
10 мар 2026, 14:29
580293b
Код
Авторство
О чём код?
import type { RevealPlugin } from 'reveal.js'; // @ts-expect-error The runtime implementation remains in JS during the migration. import NotesImplementation from './plugin.js'; export interface NotesPlugin extends RevealPlugin { id: 'notes'; open(): void; } const Notes = NotesImplementation as () => NotesPlugin; export default Notes;