File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed
Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change 1- // To do: Old export names, remove next major.
2- /**
3- * @typedef {import('./lib/core.js').RefractorRoot } RefractorRoot
4- * @typedef {import('./lib/core.js').RefractorElement } RefractorElement
5- * @typedef {import('hast').Text } Text
6- */
7-
81// Old and new names:
92/**
103 * @typedef {import('prismjs').Grammar } Grammar
114 * @typedef {import('./lib/core.js').Syntax } Syntax
125 */
136
14- // New names:
15- /**
16- * @typedef {import('./lib/core.js').RefractorRoot } Root
17- */
18-
197export { refractor } from './lib/common.js'
Original file line number Diff line number Diff line change @@ -149,8 +149,7 @@ Yields:
149149
150150This package exports the identifier [ ` refractor ` ] [ api-refractor ] .
151151It also exports the [ TypeScript] [ ] types
152- [ ` Grammar ` ] [ api-grammar ] ,
153- [ ` Root ` ] [ api-root ] ,
152+ [ ` Grammar ` ] [ api-grammar ]
154153and
155154[ ` Syntax ` ] [ api-syntax ] .
156155There is no default export.
@@ -799,8 +798,6 @@ See [How to Contribute to Open Source][opensource-guide].
799798
800799[ api-refractor ] : #refractor
801800
802- [ api-root ] : #root
803-
804801[ api-syntax ] : #syntax
805802
806803[ badge-build-image ] : https://github.com/wooorm/refractor/workflows/main/badge.svg
You can’t perform that action at this time.
0 commit comments