From 2938376b0c841420a196ff55e3dcaf79f7307ef1 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Tue, 6 Sep 2022 19:09:27 +0200 Subject: [PATCH] Add relative type import extensions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is needed for the `node16` module resolution. The use of `"module": "node16"` in this project’s `tsconfig.json` has been withheld because of davidbonnet/astring#646. --- lib/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/index.js b/lib/index.js index 1f59c90..71cdc57 100644 --- a/lib/index.js +++ b/lib/index.js @@ -10,10 +10,10 @@ * @typedef {string|number|null|undefined} XPrimitiveChild * @typedef {Array} XArrayChild * @typedef {Node|XPrimitiveChild|XArrayChild} XChild - * @typedef {import('./jsx-classic').Element} x.JSX.Element - * @typedef {import('./jsx-classic').IntrinsicAttributes} x.JSX.IntrinsicAttributes - * @typedef {import('./jsx-classic').IntrinsicElements} x.JSX.IntrinsicElements - * @typedef {import('./jsx-classic').ElementChildrenAttribute} x.JSX.ElementChildrenAttribute + * @typedef {import('./jsx-classic.js').Element} x.JSX.Element + * @typedef {import('./jsx-classic.js').IntrinsicAttributes} x.JSX.IntrinsicAttributes + * @typedef {import('./jsx-classic.js').IntrinsicElements} x.JSX.IntrinsicElements + * @typedef {import('./jsx-classic.js').ElementChildrenAttribute} x.JSX.ElementChildrenAttribute */ /**