Refactor to use module augmentation instead of @ts-expect-error
#40
Annotations
14 errors and 2 warnings
node:
example/create-tree.js#L9
Cannot find module 'https://esm.sh/hastscript@8?dev' or its corresponding type declarations.
|
node:
test/index.js#L29
Property 'Fragment' does not exist on type 'typeof import("/home/runner/work/hast-util-to-jsx-runtime/hast-util-to-jsx-runtime/node_modules/@types/react/jsx-runtime")'.
|
node:
test/index.js#L30
Property 'jsx' does not exist on type 'typeof import("/home/runner/work/hast-util-to-jsx-runtime/hast-util-to-jsx-runtime/node_modules/@types/react/jsx-runtime")'.
|
node:
test/index.js#L31
Property 'jsxs' does not exist on type 'typeof import("/home/runner/work/hast-util-to-jsx-runtime/hast-util-to-jsx-runtime/node_modules/@types/react/jsx-runtime")'.
|
node:
test/index.js#L35
Property 'Fragment' does not exist on type 'typeof import("/home/runner/work/hast-util-to-jsx-runtime/hast-util-to-jsx-runtime/node_modules/@types/react/jsx-dev-runtime")'.
|
node:
test/index.js#L36
Property 'jsxDEV' does not exist on type 'typeof import("/home/runner/work/hast-util-to-jsx-runtime/hast-util-to-jsx-runtime/node_modules/@types/react/jsx-dev-runtime")'.
|
node
Process completed with exit code 1.
|
lts/gallium:
example/create-tree.js#L9
Cannot find module 'https://esm.sh/hastscript@8?dev' or its corresponding type declarations.
|
lts/gallium:
test/index.js#L29
Property 'Fragment' does not exist on type 'typeof import("/home/runner/work/hast-util-to-jsx-runtime/hast-util-to-jsx-runtime/node_modules/@types/react/jsx-runtime")'.
|
lts/gallium:
test/index.js#L30
Property 'jsx' does not exist on type 'typeof import("/home/runner/work/hast-util-to-jsx-runtime/hast-util-to-jsx-runtime/node_modules/@types/react/jsx-runtime")'.
|
lts/gallium:
test/index.js#L31
Property 'jsxs' does not exist on type 'typeof import("/home/runner/work/hast-util-to-jsx-runtime/hast-util-to-jsx-runtime/node_modules/@types/react/jsx-runtime")'.
|
lts/gallium:
test/index.js#L35
Property 'Fragment' does not exist on type 'typeof import("/home/runner/work/hast-util-to-jsx-runtime/hast-util-to-jsx-runtime/node_modules/@types/react/jsx-dev-runtime")'.
|
lts/gallium:
test/index.js#L36
Property 'jsxDEV' does not exist on type 'typeof import("/home/runner/work/hast-util-to-jsx-runtime/hast-util-to-jsx-runtime/node_modules/@types/react/jsx-dev-runtime")'.
|
lts/gallium
The operation was canceled.
|
node
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lts/gallium
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|