Skip to content

Commit cac704c

Browse files
authored
Add extensions to local imports of files in types
Closes GH-14. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent 73f72b3 commit cac704c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
* @typedef {string|number|null|undefined} XPrimitiveChild
1111
* @typedef {Array<Node|XPrimitiveChild>} XArrayChild
1212
* @typedef {Node|XPrimitiveChild|XArrayChild} XChild
13-
* @typedef {import('./jsx-classic').Element} x.JSX.Element
14-
* @typedef {import('./jsx-classic').IntrinsicAttributes} x.JSX.IntrinsicAttributes
15-
* @typedef {import('./jsx-classic').IntrinsicElements} x.JSX.IntrinsicElements
16-
* @typedef {import('./jsx-classic').ElementChildrenAttribute} x.JSX.ElementChildrenAttribute
13+
* @typedef {import('./jsx-classic.js').Element} x.JSX.Element
14+
* @typedef {import('./jsx-classic.js').IntrinsicAttributes} x.JSX.IntrinsicAttributes
15+
* @typedef {import('./jsx-classic.js').IntrinsicElements} x.JSX.IntrinsicElements
16+
* @typedef {import('./jsx-classic.js').ElementChildrenAttribute} x.JSX.ElementChildrenAttribute
1717
*/
1818

1919
/**

0 commit comments

Comments
 (0)