UNPKG

481 BJavaScriptView Raw
1/**
2 * Old export names, remove next major.
3 * @typedef {import('./lib/core.js').RefractorRoot} RefractorRoot
4 * @typedef {import('./lib/core.js').RefractorElement} RefractorElement
5 * @typedef {import('./lib/core.js').Text} Text
6 *
7 * Old and new names:
8 * @typedef {import('./lib/core.js').Grammar} Grammar
9 * @typedef {import('./lib/core.js').Syntax} Syntax
10 *
11 * New names:
12 * @typedef {import('./lib/core.js').RefractorRoot} Root
13 */
14export {refractor} from './lib/common.js'