Skip to content

Instantly share code, notes, and snippets.

@sandersn
Last active October 3, 2023 15:35
Show Gist options
  • Save sandersn/3576fc5acc6653991e76ce040907871b to your computer and use it in GitHub Desktop.
Save sandersn/3576fc5acc6653991e76ce040907871b to your computer and use it in GitHub Desktop.
Current dtslint-runner errors
3> akamai-edgeworkers failing:
3> Error: Errors in typescript@4.5 for external dependencies:
3> error TS2318: Cannot find global type 'Array'.
3> error TS2318: Cannot find global type 'Boolean'.
3> error TS2318: Cannot find global type 'Function'.
3> error TS2318: Cannot find global type 'IArguments'.
3> error TS2318: Cannot find global type 'Number'.
3> error TS2318: Cannot find global type 'Object'.
3> error TS2318: Cannot find global type 'Promise'.
3> error TS2318: Cannot find global type 'RegExp'.
3> error TS2318: Cannot find global type 'String'.
3>
3> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
3> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
(node:3910208) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-3910208-2glb5ek2za59/alpha-bravo/package/package.json' of 'index.module.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3910228) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-3910228-LTYsHdeTnsaH/begin__data/package/package.json' of 'src/index.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:3910214) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-3910214-Kqp2Cwf8LcfG/browser-report/package/package.json' of './dist/browser-report.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
tar: package/dist/index.js: Cannot open: Permission denied
tar: package/src/index.js: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
(node:3939271) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-3939271-8ZQFGthjnZqO/detectos.js/package/package.json' of 'detectOS.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
7> dhis2__ui-icons failing:
7> Error: /home/nathansa/DefinitelyTyped/types/dhis2__ui-icons/dhis2__ui-icons-tests.tsx:4:15
7> ERROR: 4:15 expect Compile error in typescript@5.1 but not in typescript@5.2.
7> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
7> 'IconAdd16' cannot be used as a JSX component.
7> Its return type 'ReactNode' is not a valid JSX element.
7> Type 'undefined' is not assignable to type 'Element | null'.
7> ERROR: 5:24 expect Compile error in typescript@5.1 but not in typescript@5.2.
7> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
7> 'IconAdd16' cannot be used as a JSX component.
7> Its return type 'ReactNode' is not a valid JSX element.
7>
7> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
7> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
4> django-bananas failing:
4> Error: /home/nathansa/DefinitelyTyped/types/django-bananas/django-bananas-tests.tsx:32:2
4> ERROR: 32:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
4> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
4> 'PermissionRequired' cannot be used as a JSX component.
4> Its return type 'ReactNode' is not a valid JSX element.
4> Type 'undefined' is not assignable to type 'Element | null'.
4> ERROR: 33:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
4> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
4> 'UserPassesTest' cannot be used as a JSX component.
4> Its return type 'ReactNode' is not a valid JSX element.
4> ERROR: 34:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
4> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
4> 'AdminContext.Consumer' cannot be used as a JSX component.
4> Its return type 'ReactNode' is not a valid JSX element.
4>
4> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
4> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
1> dom-mediacapture-record failing:
1> Error: Errors in typescript@5.1 for external dependencies:
1> ../../../.dts/typescript-installs/5.1/node_modules/typescript/lib/lib.dom.d.ts(19298,6): error TS2300: Duplicate identifier 'BitrateMode'.
1>
1> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
1> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
4> ember failing:
4> Error: /home/nathansa/DefinitelyTyped/types/ember/test/utils.ts:111:5
4> ERROR: 111:5 expect TypeScript@5.3 expected type to be:
4> "class"
4> got:
4> "object"
4> ERROR: 112:5 expect TypeScript@5.3 expected type to be:
4> "instance"
4> got:
4> "object"
4>
4> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
4> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
6> ember/v3 failing:
6> Error: /home/nathansa/DefinitelyTyped/types/ember/v3/test/utils.ts:158:5
6> ERROR: 158:5 expect TypeScript@5.3 expected type to be:
6> "class"
6> got:
6> "object"
6> ERROR: 159:5 expect TypeScript@5.3 expected type to be:
6> "instance"
6> got:
6> "object"
6>
6> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
6> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
(node:3941343) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-3941343-875bhuX9KqjM/factory-girl/package/package.json' of './src/index'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
4> feathersjs__authentication-client failing:
4> Error:
4> /home/nathansa/DefinitelyTyped/types/feathersjs__authentication-client/index.d.ts
4> 1:1 error Declaration file should not use a global import of itself. Use a relative import @definitelytyped/no-self-import
4>
4> ✖ 1 problem (1 error, 0 warnings)
4>
4> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
4> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
tar: package/build/cli.js: Cannot open: Permission denied
tar: package/build/index.js: Cannot open: Permission denied
tar: package/build/propertykey.js: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
(node:3960320) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-3960320-PSHvbuf1v62e/fluent-reveal-effect/package/package.json' of '../Dist/js/[name].js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
8> google-cloud__tasks failing:
8> Error: Errors in typescript@5.3 for external dependencies:
8> node_modules/.pnpm/@grpc+proto-loader@0.3.0/node_modules/@grpc/proto-loader/build/src/index.d.ts(1,23): error TS4090: Conflicting definitions for 'node' found at '/home/nathansa/DefinitelyTyped/types/google-cloud__tasks/node_modules/.pnpm/@types+node@9.6.61/node_modules/@types/node/index.d.ts' and '/home/nathansa/DefinitelyTyped/types/node/index.d.ts'. Consider installing a specific version of this library to resolve the conflict.
8> The file is in the program because:
8> Type library referenced via 'node' from file '/home/nathansa/DefinitelyTyped/types/google-cloud__tasks/index.d.ts' with packageId '@types/node/index.d.ts@20.7.99999'
8> Type library referenced via 'node' from file '/home/nathansa/DefinitelyTyped/types/google-cloud__tasks/node_modules/.pnpm/@grpc+proto-loader@0.3.0/node_modules/@grpc/proto-loader/build/src/index.d.ts' with packageId '@types/node/index.d.ts@9.6.61'
8>
8> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
8> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
6> i18next-node-fs-backend failing:
6> Error: Errors in typescript@4.5 for external dependencies:
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(2,34): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/helpers' instead.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(14,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(16,43): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(497,1): error TS1383: Only named exports may use 'export type'.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(497,20): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(516,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(517,1): error TS1383: Only named exports may use 'export type'.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(517,20): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(524,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
6>
6> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
6> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
6> i18next-sprintf-postprocessor failing:
6> Error: Errors in typescript@4.5 for external dependencies:
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(2,34): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/helpers' instead.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(14,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(16,43): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(497,1): error TS1383: Only named exports may use 'export type'.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(497,20): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(516,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(517,1): error TS1383: Only named exports may use 'export type'.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(517,20): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
6> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(524,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
6>
6> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
6> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
5> i18next-ko failing:
5> Error: Errors in typescript@4.5 for external dependencies:
5> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(2,34): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/helpers' instead.
5> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(14,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
5> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(16,43): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
5> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(497,1): error TS1383: Only named exports may use 'export type'.
5> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(497,20): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
5> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(516,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
5> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(517,1): error TS1383: Only named exports may use 'export type'.
5> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(517,20): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
5> node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(524,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
5>
5> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
5> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
tar: package/dist/keyboard.js: Cannot open: Permission denied
tar: package/dist/keyboard.min.js: Cannot open: Permission denied
tar: package/lib/key-combo.js: Cannot open: Permission denied
tar: package/lib/keyboard.js: Cannot open: Permission denied
tar: package/lib/locale.js: Cannot open: Permission denied
tar: package/locales/us.js: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
(node:4010856) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-4010856-ftLp3SH4OXHX/material-ui-datatables/package/package.json' of './src/index.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
tar: package/build/index.js: Cannot open: Permission denied
tar: package/build/text.js: Cannot open: Permission denied
tar: package/src/index.js: Cannot open: Permission denied
tar: package/src/text.js: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
8> node failing:
8> Error:
8> /home/nathansa/DefinitelyTyped/types/node/ts4.8/inspector.d.ts
8> 1:1 error Definition for rule '@definitelytyped/dt-header' was not found @definitelytyped/dt-header
8>
8> ✖ 1 problem (1 error, 0 warnings)
8>
8> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
8> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
3> node/v18 failing:
3> Error:
3> /home/nathansa/DefinitelyTyped/types/node/v18/ts4.8/inspector.d.ts
3> 1:1 error Definition for rule '@definitelytyped/dt-header' was not found @definitelytyped/dt-header
3>
3> ✖ 1 problem (1 error, 0 warnings)
3>
3> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
3> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
1> node/v16 failing:
1> Error:
1> /home/nathansa/DefinitelyTyped/types/node/v16/ts4.8/inspector.d.ts
1> 1:1 error Definition for rule '@definitelytyped/dt-header' was not found @definitelytyped/dt-header
1>
1> ✖ 1 problem (1 error, 0 warnings)
1>
1> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
1> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
(node:4010127) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-4010127-pD9WZ0oHzUCY/node-getopt/package/package.json' of './lib'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4010967) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-4010967-TMK3luWBgPkS/node-red__editor-client/package/package.json' of './lib/index.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
tar: package/lib/bitmapper.js: Cannot open: Permission denied
tar: package/lib/bitpacker.js: Cannot open: Permission denied
tar: package/lib/chunkstream.js: Cannot open: Permission denied
tar: package/lib/constants.js: Cannot open: Permission denied
tar: package/lib/crc.js: Cannot open: Permission denied
tar: package/lib/filter-pack.js: Cannot open: Permission denied
tar: package/lib/filter-parse-async.js: Cannot open: Permission denied
tar: package/lib/filter-parse-sync.js: Cannot open: Permission denied
tar: package/lib/filter-parse.js: Cannot open: Permission denied
tar: package/lib/format-normaliser.js: Cannot open: Permission denied
tar: package/lib/interlace.js: Cannot open: Permission denied
tar: package/lib/packer-async.js: Cannot open: Permission denied
tar: package/lib/packer-sync.js: Cannot open: Permission denied
tar: package/lib/packer.js: Cannot open: Permission denied
tar: package/lib/paeth-predictor.js: Cannot open: Permission denied
tar: package/lib/parser-async.js: Cannot open: Permission denied
tar: package/lib/parser-sync.js: Cannot open: Permission denied
tar: package/lib/parser.js: Cannot open: Permission denied
tar: package/lib/png-sync.js: Cannot open: Permission denied
tar: package/lib/png.js: Cannot open: Permission denied
tar: package/lib/sync-inflate.js: Cannot open: Permission denied
tar: package/lib/sync-reader.js: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
3> preact-custom-element failing:
3> Error: Errors in typescript@4.5 for external dependencies:
3> node_modules/.pnpm/preact@10.18.1/node_modules/preact/src/jsx.d.ts(1471,25): error TS2304: Cannot find name 'PictureInPictureEvent'.
3> node_modules/.pnpm/preact@10.18.1/node_modules/preact/src/jsx.d.ts(1516,16): error TS2344: Type 'TargetedPictureInPictureEvent<Target>' does not satisfy the constraint 'TargetedEvent<EventTarget, Event>'.
3> Type 'TargetedPictureInPictureEvent<Target>' is missing the following properties from type 'Omit<Event, "currentTarget">': type, target, bubbles, cancelBubble, and 17 more.
3>
3> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
3> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
6> preact-i18n failing:
6> Error: Errors in typescript@4.5 for external dependencies:
6> node_modules/.pnpm/preact@10.18.1/node_modules/preact/src/jsx.d.ts(1471,25): error TS2304: Cannot find name 'PictureInPictureEvent'.
6> node_modules/.pnpm/preact@10.18.1/node_modules/preact/src/jsx.d.ts(1516,16): error TS2344: Type 'TargetedPictureInPictureEvent<Target>' does not satisfy the constraint 'TargetedEvent<EventTarget, Event>'.
6> Type 'TargetedPictureInPictureEvent<Target>' is missing the following properties from type 'Omit<Event, "currentTarget">': type, target, bubbles, cancelBubble, and 17 more.
6>
6> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
6> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
2> preact-virtual-list failing:
2> Error: Errors in typescript@4.5 for external dependencies:
2> node_modules/.pnpm/preact@10.18.1/node_modules/preact/src/jsx.d.ts(1471,25): error TS2304: Cannot find name 'PictureInPictureEvent'.
2> node_modules/.pnpm/preact@10.18.1/node_modules/preact/src/jsx.d.ts(1516,16): error TS2344: Type 'TargetedPictureInPictureEvent<Target>' does not satisfy the constraint 'TargetedEvent<EventTarget, Event>'.
2> Type 'TargetedPictureInPictureEvent<Target>' is missing the following properties from type 'Omit<Event, "currentTarget">': type, target, bubbles, cancelBubble, and 17 more.
2>
2> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
2> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
2> react-addons-css-transition-group failing:
2> Error: /home/nathansa/DefinitelyTyped/types/react-addons-css-transition-group/react-addons-css-transition-group-tests.ts:4:59
2> ERROR: 4:59 use-default-type-parameter This is the default value for this type parameter, so it can be omitted.
2>
2> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
2> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
5> react failing:
5> Error: /home/nathansa/DefinitelyTyped/types/react/test/canary.tsx:24:17
5> ERROR: 24:17 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Fragment' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 31:14 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ServerContext.Provider' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 40:17 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Fragment' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5>
5> /home/nathansa/DefinitelyTyped/types/react/test/experimental.tsx:18:14
5> ERROR: 18:14 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Suspense' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 28:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Suspense' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 31:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.unstable_SuspenseList' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 32:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Suspense' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 33:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Suspense' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 36:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.unstable_SuspenseList' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 37:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Suspense' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 38:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Suspense' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 41:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.unstable_SuspenseList' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 42:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Suspense' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 43:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Suspense' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 186:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ReturnPromise' cannot be used as a JSX component.
5> Its return type 'Promise<string>' is not a valid JSX element.
5>
5> /home/nathansa/DefinitelyTyped/types/react/test/hooks.tsx:89:14
5> ERROR: 89:14 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'FancyButton' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 92:14 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'FancyButton' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 314:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'UsesEveryHook' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 316:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'UsesEveryHook' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5>
5> /home/nathansa/DefinitelyTyped/types/react/test/managedAttributes.tsx:94:16
5> ERROR: 94:16 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Fragment' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 96:19 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Fragment' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 118:16 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Fragment' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 180:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'MemoFunctionalComponent' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 184:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'MemoAnnotatedDefaultProps' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 185:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'LazyMemoFunctionalComponent' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 188:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'LazyMemoAnnotatedDefaultProps' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 199:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ForwardRef' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5>
5> /home/nathansa/DefinitelyTyped/types/react/test/tsx.tsx:14:2
5> ERROR: 14:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'FunctionComponent' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> Type 'undefined' is not assignable to type 'Element | null'.
5> ERROR: 27:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'VoidFunctionComponent' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 43:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ComponentWithChildren1' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 61:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ComponentWithChildren2' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 62:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ComponentWithChildren2' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 85:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ComponentWithChildren3' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 155:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'FunctionComponentWithoutProps' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 170:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Fragment' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 171:10 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Fragment' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 175:10 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Fragment' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 184:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.StrictMode' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 303:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'Memoized1' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 311:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'Memoized2' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 314:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'Memoized3' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 322:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'Memoized4' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 329:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'Memoized5' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 332:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'Memoized6' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 352:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Suspense' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 352:28 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'Memoized1' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 353:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'LazyClassComponent' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 354:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'LazyClassComponent' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 360:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'LazyMemoized3' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 365:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'LazyRefForwarding' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 368:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Suspense' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 369:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'React.Suspense' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 413:7 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ForwardRef' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 422:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ForwardRef' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 423:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ForwardRef' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 426:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ForwardRef2' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 427:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ForwardRef2' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 451:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ForwardNewContext' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 464:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ForwardRef3' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 465:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ForwardRef3' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 479:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'Profiler' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 764:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ReturnUndefined' cannot be used as a JSX component.
5> Its return type 'undefined' is not a valid JSX element.
5> ERROR: 776:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ReturnNumber' cannot be used as a JSX component.
5> Its return type 'number' is not a valid JSX element.
5> ERROR: 782:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ReturnString' cannot be used as a JSX component.
5> Its return type 'string' is not a valid JSX element.
5> ERROR: 797:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ReturnArray' cannot be used as a JSX component.
5> Its return type 'Element[]' is not a valid JSX element.
5> Type 'Element[]' is missing the following properties from type 'ReactElement<any, any>': type, props, key
5> ERROR: 809:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ReturnReactNode' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 815:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ReturnPromise' cannot be used as a JSX component.
5> Its return type 'Promise<string>' is not a valid JSX element.
5> Type 'Promise<string>' is missing the following properties from type 'ReactElement<any, any>': type, props, key
5> ERROR: 867:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ElementComponent' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5> ERROR: 873:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
5> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
5> 'ElementComponent' cannot be used as a JSX component.
5> Its return type 'ReactNode' is not a valid JSX element.
5>
5> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
5> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
1> react-native-sortable-list Out of memory: retrying
3> schwifty failing:
3> Error: /home/nathansa/DefinitelyTyped/types/schwifty/schwifty-tests.ts:7:29
3> ERROR: 7:29 expect Compile error in typescript@4.8 but not in typescript@4.9.
3> Fix with a comment '// Minimum TypeScript Version: 4.9' just under the header.
3> Property 'Server' does not exist on type 'typeof import("/home/nathansa/DefinitelyTyped/types/schwifty/node_modules/.pnpm/@hapi+hapi@21.3.2/node_modules/@hapi/hapi/lib/index")'. Did you mean 'server'?
3>
3> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
3> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
(node:4058984) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-4058984-8YTph8nehy4t/simplesmtp/package/package.json' of './lib/smtp'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
tar: package/dist/slate-base64-serializer.js: Cannot open: Permission denied
tar: package/dist/slate-base64-serializer.min.js: Cannot open: Permission denied
tar: package/lib/slate-base64-serializer.es.js: Cannot open: Permission denied
tar: package/lib/slate-base64-serializer.es.js.map: Cannot open: Permission denied
tar: package/lib/slate-base64-serializer.js: Cannot open: Permission denied
tar: package/lib/slate-base64-serializer.js.map: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
tar: package/dist/slate-plain-serializer.js: Cannot open: Permission denied
tar: package/dist/slate-plain-serializer.min.js: Cannot open: Permission denied
tar: package/lib/slate-plain-serializer.es.js: Cannot open: Permission denied
tar: package/lib/slate-plain-serializer.es.js.map: Cannot open: Permission denied
tar: package/lib/slate-plain-serializer.js: Cannot open: Permission denied
tar: package/lib/slate-plain-serializer.js.map: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
tar: package/.github/CODE_OF_CONDUCT.md: Cannot open: Permission denied
tar: package/.github/first-timers.yml: Cannot open: Permission denied
tar: package/.github/FIRST_TIMERS_ISSUE_TEMPLATE.md: Cannot open: Permission denied
tar: package/.github/FUNDING.yml: Cannot open: Permission denied
tar: package/.github/ISSUE_TEMPLATE: Cannot mkdir: Permission denied
tar: package/.github/PULL_REQUEST_TEMPLATE.md: Cannot open: Permission denied
tar: package/dist/squirrelly.dev.js: Cannot open: Permission denied
tar: package/dist/squirrelly.dev.js.map: Cannot open: Permission denied
tar: package/dist/squirrelly.min.js: Cannot open: Permission denied
tar: package/dist/squirrelly.min.js.map: Cannot open: Permission denied
tar: package/dist/squirrelly.runtime.dev.js: Cannot open: Permission denied
tar: package/dist/squirrelly.runtime.dev.js.map: Cannot open: Permission denied
tar: package/dist/squirrelly.runtime.js: Cannot open: Permission denied
tar: package/dist/squirrelly.runtime.js.map: Cannot open: Permission denied
tar: package/src/compile.js: Cannot open: Permission denied
tar: package/src/filters.js: Cannot open: Permission denied
tar: package/src/helpers.js: Cannot open: Permission denied
tar: package/src/index.js: Cannot open: Permission denied
tar: package/src/nativeHelpers.js: Cannot open: Permission denied
tar: package/src/partials.js: Cannot open: Permission denied
tar: package/src/regexps.js: Cannot open: Permission denied
tar: package/src/utils.js: Cannot open: Permission denied
tar: package/test/test.js: Cannot open: Permission denied
tar: package/.github/ISSUE_TEMPLATE/bug_report.md: Cannot open: Permission denied
tar: package/.github/ISSUE_TEMPLATE/feature_request.md: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
8> tabulator-tables failing:
8> Error: /home/nathansa/DefinitelyTyped/types/tabulator-tables/index.d.ts:2923:9
8> ERROR: 2923:9 no-unnecessary-class Every member of this class is static. Use namespaces or plain objects instead.
8>
8> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
8> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
tar: package/dist/index.js: Cannot open: Permission denied
tar: package/src/index.js: Cannot open: Permission denied
tar: package/src/router.js: Cannot open: Permission denied
tar: package/src/tasker.js: Cannot open: Permission denied
tar: package/tasker-imports/TJS_Development_Toggle.tsk.xml: Cannot open: Permission denied
tar: package/tasker-imports/TJS_RunScript.tsk.xml: Cannot open: Permission denied
tar: package/tasker-imports/TJS_UpdateScript.tsk.xml: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
8> tunajs failing:
8> Error: /home/nathansa/DefinitelyTyped/types/tunajs/index.d.ts:282:9
8> ERROR: 282:9 expect Compile error in typescript@5.1 but not in typescript@5.2.
8> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
8> The return type of a 'get' accessor must be assignable to its 'set' accessor type
8>
8> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
8> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
tar: package/dist/index.cjs.js: Cannot open: Permission denied
tar: package/dist/index.cjs.js.map: Cannot open: Permission denied
tar: package/dist/index.es.js: Cannot open: Permission denied
tar: package/dist/index.es.js.map: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
(node:4080534) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-4080534-j62j7YXQD495/webpack-blocks__dev-server/package/package.json' of 'lib/index'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4079367) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-4079367-m5YHvvn6LERA/webpack-blocks__babel/package/package.json' of 'lib/index'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4093145) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-4093145-9FfRvFvlk7Qk/webpack-blocks__extract-text/package/package.json' of 'lib/index'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4085751) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-4085751-CkVsIaiHYHdd/webpack-blocks__postcss/package/package.json' of 'lib/index'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4090064) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-4090064-3S52KM2jTClU/webpack-blocks__typescript/package/package.json' of 'lib/index'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:4077171) [DEP0128] DeprecationWarning: Invalid 'main' field in '/tmp/tmp-4077171-l2WWWnrdu4GY/webpack-blocks__sass/package/package.json' of 'lib/index'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
6> webrtc failing:
6> Error: Errors in typescript@5.1 for external dependencies:
6> ../../../.dts/typescript-installs/5.1/node_modules/typescript/lib/lib.dom.d.ts(1554,5): error TS2687: All declarations of 'uri' must have identical modifiers.
6>
6> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
6> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
tar: package/dist/websocket-async.esm.js: Cannot open: Permission denied
tar: package/dist/websocket-async.umd.js: Cannot open: Permission denied
tar: package/lib/websocket-client.js: Cannot open: Permission denied
tar: package/lib/websocket-client.js.flow: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
tar: package/.circleci/config.yml: Cannot open: Permission denied
tar: package/test/mocha.opts: Cannot open: Permission denied
tar: package/test/tests.js: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
3> wicg-file-system-access failing:
3> Error: /home/nathansa/DefinitelyTyped/types/wicg-file-system-access/index.d.ts:92:76
3> ERROR: 92:76 expect Compile error in typescript@5.1 but not in typescript@5.2.
3> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
3> Cannot find name 'FileSystemWritableFileStream'.
3>
3> /home/nathansa/DefinitelyTyped/types/wicg-file-system-access/wicg-file-system-access-tests.ts:9:12
3> ERROR: 9:12 expect Compile error in typescript@5.1 but not in typescript@5.2.
3> Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
3> Cannot find name 'FileSystemWritableFileStream'.
3>
3> at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
3> at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
=== ERRORS ===
Error in akamai-edgeworkers
Error: Errors in typescript@4.5 for external dependencies:
error TS2318: Cannot find global type 'Array'.
error TS2318: Cannot find global type 'Boolean'.
error TS2318: Cannot find global type 'Function'.
error TS2318: Cannot find global type 'IArguments'.
error TS2318: Cannot find global type 'Number'.
error TS2318: Cannot find global type 'Object'.
error TS2318: Cannot find global type 'Promise'.
error TS2318: Cannot find global type 'RegExp'.
error TS2318: Cannot find global type 'String'.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in dhis2__ui-icons
Error: /home/nathansa/DefinitelyTyped/types/dhis2__ui-icons/dhis2__ui-icons-tests.tsx:4:15
ERROR: 4:15 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'IconAdd16' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
Type 'undefined' is not assignable to type 'Element | null'.
ERROR: 5:24 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'IconAdd16' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in django-bananas
Error: /home/nathansa/DefinitelyTyped/types/django-bananas/django-bananas-tests.tsx:32:2
ERROR: 32:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'PermissionRequired' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
Type 'undefined' is not assignable to type 'Element | null'.
ERROR: 33:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'UserPassesTest' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 34:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'AdminContext.Consumer' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in dom-mediacapture-record
Error: Errors in typescript@5.1 for external dependencies:
../../../.dts/typescript-installs/5.1/node_modules/typescript/lib/lib.dom.d.ts(19298,6): error TS2300: Duplicate identifier 'BitrateMode'.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in ember
Error: /home/nathansa/DefinitelyTyped/types/ember/test/utils.ts:111:5
ERROR: 111:5 expect TypeScript@5.3 expected type to be:
"class"
got:
"object"
ERROR: 112:5 expect TypeScript@5.3 expected type to be:
"instance"
got:
"object"
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in ember/v3
Error: /home/nathansa/DefinitelyTyped/types/ember/v3/test/utils.ts:158:5
ERROR: 158:5 expect TypeScript@5.3 expected type to be:
"class"
got:
"object"
ERROR: 159:5 expect TypeScript@5.3 expected type to be:
"instance"
got:
"object"
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in feathersjs__authentication-client
Error:
/home/nathansa/DefinitelyTyped/types/feathersjs__authentication-client/index.d.ts
1:1 error Declaration file should not use a global import of itself. Use a relative import @definitelytyped/no-self-import
✖ 1 problem (1 error, 0 warnings)
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in google-cloud__tasks
Error: Errors in typescript@5.3 for external dependencies:
node_modules/.pnpm/@grpc+proto-loader@0.3.0/node_modules/@grpc/proto-loader/build/src/index.d.ts(1,23): error TS4090: Conflicting definitions for 'node' found at '/home/nathansa/DefinitelyTyped/types/google-cloud__tasks/node_modules/.pnpm/@types+node@9.6.61/node_modules/@types/node/index.d.ts' and '/home/nathansa/DefinitelyTyped/types/node/index.d.ts'. Consider installing a specific version of this library to resolve the conflict.
The file is in the program because:
Type library referenced via 'node' from file '/home/nathansa/DefinitelyTyped/types/google-cloud__tasks/index.d.ts' with packageId '@types/node/index.d.ts@20.7.99999'
Type library referenced via 'node' from file '/home/nathansa/DefinitelyTyped/types/google-cloud__tasks/node_modules/.pnpm/@grpc+proto-loader@0.3.0/node_modules/@grpc/proto-loader/build/src/index.d.ts' with packageId '@types/node/index.d.ts@9.6.61'
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in i18next-node-fs-backend
Error: Errors in typescript@4.5 for external dependencies:
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(2,34): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/helpers' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(14,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(16,43): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(497,1): error TS1383: Only named exports may use 'export type'.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(497,20): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(516,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(517,1): error TS1383: Only named exports may use 'export type'.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(517,20): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(524,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in i18next-sprintf-postprocessor
Error: Errors in typescript@4.5 for external dependencies:
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(2,34): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/helpers' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(14,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(16,43): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(497,1): error TS1383: Only named exports may use 'export type'.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(497,20): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(516,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(517,1): error TS1383: Only named exports may use 'export type'.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(517,20): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(524,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in i18next-ko
Error: Errors in typescript@4.5 for external dependencies:
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(2,34): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/helpers' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(14,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(16,43): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(497,1): error TS1383: Only named exports may use 'export type'.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(497,20): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(516,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/options' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(517,1): error TS1383: Only named exports may use 'export type'.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(517,20): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
node_modules/.pnpm/i18next@23.5.1/node_modules/i18next/index.d.ts(524,8): error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './typescript/t' instead.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in node
Error:
/home/nathansa/DefinitelyTyped/types/node/ts4.8/inspector.d.ts
1:1 error Definition for rule '@definitelytyped/dt-header' was not found @definitelytyped/dt-header
✖ 1 problem (1 error, 0 warnings)
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in node/v18
Error:
/home/nathansa/DefinitelyTyped/types/node/v18/ts4.8/inspector.d.ts
1:1 error Definition for rule '@definitelytyped/dt-header' was not found @definitelytyped/dt-header
✖ 1 problem (1 error, 0 warnings)
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in node/v16
Error:
/home/nathansa/DefinitelyTyped/types/node/v16/ts4.8/inspector.d.ts
1:1 error Definition for rule '@definitelytyped/dt-header' was not found @definitelytyped/dt-header
✖ 1 problem (1 error, 0 warnings)
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in preact-custom-element
Error: Errors in typescript@4.5 for external dependencies:
node_modules/.pnpm/preact@10.18.1/node_modules/preact/src/jsx.d.ts(1471,25): error TS2304: Cannot find name 'PictureInPictureEvent'.
node_modules/.pnpm/preact@10.18.1/node_modules/preact/src/jsx.d.ts(1516,16): error TS2344: Type 'TargetedPictureInPictureEvent<Target>' does not satisfy the constraint 'TargetedEvent<EventTarget, Event>'.
Type 'TargetedPictureInPictureEvent<Target>' is missing the following properties from type 'Omit<Event, "currentTarget">': type, target, bubbles, cancelBubble, and 17 more.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in preact-i18n
Error: Errors in typescript@4.5 for external dependencies:
node_modules/.pnpm/preact@10.18.1/node_modules/preact/src/jsx.d.ts(1471,25): error TS2304: Cannot find name 'PictureInPictureEvent'.
node_modules/.pnpm/preact@10.18.1/node_modules/preact/src/jsx.d.ts(1516,16): error TS2344: Type 'TargetedPictureInPictureEvent<Target>' does not satisfy the constraint 'TargetedEvent<EventTarget, Event>'.
Type 'TargetedPictureInPictureEvent<Target>' is missing the following properties from type 'Omit<Event, "currentTarget">': type, target, bubbles, cancelBubble, and 17 more.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in preact-virtual-list
Error: Errors in typescript@4.5 for external dependencies:
node_modules/.pnpm/preact@10.18.1/node_modules/preact/src/jsx.d.ts(1471,25): error TS2304: Cannot find name 'PictureInPictureEvent'.
node_modules/.pnpm/preact@10.18.1/node_modules/preact/src/jsx.d.ts(1516,16): error TS2344: Type 'TargetedPictureInPictureEvent<Target>' does not satisfy the constraint 'TargetedEvent<EventTarget, Event>'.
Type 'TargetedPictureInPictureEvent<Target>' is missing the following properties from type 'Omit<Event, "currentTarget">': type, target, bubbles, cancelBubble, and 17 more.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in react-addons-css-transition-group
Error: /home/nathansa/DefinitelyTyped/types/react-addons-css-transition-group/react-addons-css-transition-group-tests.ts:4:59
ERROR: 4:59 use-default-type-parameter This is the default value for this type parameter, so it can be omitted.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in react
Error: /home/nathansa/DefinitelyTyped/types/react/test/canary.tsx:24:17
ERROR: 24:17 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Fragment' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 31:14 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ServerContext.Provider' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 40:17 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Fragment' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
/home/nathansa/DefinitelyTyped/types/react/test/experimental.tsx:18:14
ERROR: 18:14 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Suspense' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 28:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Suspense' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 31:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.unstable_SuspenseList' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 32:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Suspense' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 33:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Suspense' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 36:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.unstable_SuspenseList' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 37:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Suspense' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 38:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Suspense' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 41:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.unstable_SuspenseList' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 42:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Suspense' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 43:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Suspense' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 186:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ReturnPromise' cannot be used as a JSX component.
Its return type 'Promise<string>' is not a valid JSX element.
/home/nathansa/DefinitelyTyped/types/react/test/hooks.tsx:89:14
ERROR: 89:14 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'FancyButton' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 92:14 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'FancyButton' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 314:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'UsesEveryHook' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 316:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'UsesEveryHook' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
/home/nathansa/DefinitelyTyped/types/react/test/managedAttributes.tsx:94:16
ERROR: 94:16 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Fragment' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 96:19 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Fragment' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 118:16 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Fragment' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 180:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'MemoFunctionalComponent' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 184:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'MemoAnnotatedDefaultProps' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 185:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'LazyMemoFunctionalComponent' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 188:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'LazyMemoAnnotatedDefaultProps' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 199:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ForwardRef' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
/home/nathansa/DefinitelyTyped/types/react/test/tsx.tsx:14:2
ERROR: 14:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'FunctionComponent' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
Type 'undefined' is not assignable to type 'Element | null'.
ERROR: 27:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'VoidFunctionComponent' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 43:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ComponentWithChildren1' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 61:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ComponentWithChildren2' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 62:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ComponentWithChildren2' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 85:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ComponentWithChildren3' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 155:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'FunctionComponentWithoutProps' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 170:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Fragment' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 171:10 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Fragment' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 175:10 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Fragment' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 184:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.StrictMode' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 303:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'Memoized1' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 311:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'Memoized2' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 314:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'Memoized3' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 322:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'Memoized4' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 329:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'Memoized5' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 332:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'Memoized6' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 352:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Suspense' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 352:28 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'Memoized1' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 353:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'LazyClassComponent' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 354:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'LazyClassComponent' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 360:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'LazyMemoized3' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 365:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'LazyRefForwarding' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 368:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Suspense' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 369:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'React.Suspense' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 413:7 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ForwardRef' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 422:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ForwardRef' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 423:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ForwardRef' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 426:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ForwardRef2' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 427:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ForwardRef2' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 451:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ForwardNewContext' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 464:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ForwardRef3' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 465:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ForwardRef3' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 479:2 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'Profiler' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 764:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ReturnUndefined' cannot be used as a JSX component.
Its return type 'undefined' is not a valid JSX element.
ERROR: 776:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ReturnNumber' cannot be used as a JSX component.
Its return type 'number' is not a valid JSX element.
ERROR: 782:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ReturnString' cannot be used as a JSX component.
Its return type 'string' is not a valid JSX element.
ERROR: 797:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ReturnArray' cannot be used as a JSX component.
Its return type 'Element[]' is not a valid JSX element.
Type 'Element[]' is missing the following properties from type 'ReactElement<any, any>': type, props, key
ERROR: 809:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ReturnReactNode' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 815:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ReturnPromise' cannot be used as a JSX component.
Its return type 'Promise<string>' is not a valid JSX element.
Type 'Promise<string>' is missing the following properties from type 'ReactElement<any, any>': type, props, key
ERROR: 867:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ElementComponent' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
ERROR: 873:6 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
'ElementComponent' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in schwifty
Error: /home/nathansa/DefinitelyTyped/types/schwifty/schwifty-tests.ts:7:29
ERROR: 7:29 expect Compile error in typescript@4.8 but not in typescript@4.9.
Fix with a comment '// Minimum TypeScript Version: 4.9' just under the header.
Property 'Server' does not exist on type 'typeof import("/home/nathansa/DefinitelyTyped/types/schwifty/node_modules/.pnpm/@hapi+hapi@21.3.2/node_modules/@hapi/hapi/lib/index")'. Did you mean 'server'?
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in tabulator-tables
Error: /home/nathansa/DefinitelyTyped/types/tabulator-tables/index.d.ts:2923:9
ERROR: 2923:9 no-unnecessary-class Every member of this class is static. Use namespaces or plain objects instead.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in tunajs
Error: /home/nathansa/DefinitelyTyped/types/tunajs/index.d.ts:282:9
ERROR: 282:9 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
The return type of a 'get' accessor must be assignable to its 'set' accessor type
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in webrtc
Error: Errors in typescript@5.1 for external dependencies:
../../../.dts/typescript-installs/5.1/node_modules/typescript/lib/lib.dom.d.ts(1554,5): error TS2687: All declarations of 'uri' must have identical modifiers.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Error in wicg-file-system-access
Error: /home/nathansa/DefinitelyTyped/types/wicg-file-system-access/index.d.ts:92:76
ERROR: 92:76 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
Cannot find name 'FileSystemWritableFileStream'.
/home/nathansa/DefinitelyTyped/types/wicg-file-system-access/wicg-file-system-access-tests.ts:9:12
ERROR: 9:12 expect Compile error in typescript@5.1 but not in typescript@5.2.
Fix with a comment '// Minimum TypeScript Version: 5.2' just under the header.
Cannot find name 'FileSystemWritableFileStream'.
at testTypesVersion (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:188:15)
at async runTests (/home/nathansa/DefinitelyTyped-tools/packages/dtslint/dist/index.js:166:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment