diff --git a/tests/baselines/reference/docker/azure-sdk.log b/tests/baselines/reference/docker/azure-sdk.log index 6f9a762ca265c..17be4ad1f070f 100644 --- a/tests/baselines/reference/docker/azure-sdk.log +++ b/tests/baselines/reference/docker/azure-sdk.log @@ -9,36 +9,18 @@ XX of XX: [@azure/abort-controller] completed successfully in ? seconds XX of XX: [@azure/core-auth] completed successfully in ? seconds XX of XX: [@azure/logger] completed successfully in ? seconds XX of XX: [@azure/core-asynciterator-polyfill] completed successfully in ? seconds -XX of XX: [@azure/core-http] completed successfully in ? seconds -XX of XX: [@azure/core-amqp] completed successfully in ? seconds -XX of XX: [@azure/core-lro] completed successfully in ? seconds -XX of XX: [@azure/core-paging] completed successfully in ? seconds -XX of XX: [@azure/test-utils-recorder] completed successfully in ? seconds -XX of XX: [@azure/eslint-plugin-azure-sdk] completed successfully in ? seconds -XX of XX: [@azure/event-hubs] completed successfully in ? seconds -XX of XX: [@azure/event-processor-host] completed successfully in ? seconds -npm ERR! code ELIFECYCLE -npm ERR! errno 2 -npm ERR! @azure/keyvault-keys@X.X.X-preview.2 extract-api: `tsc -p . && api-extractor run --local` -npm ERR! Exit status 2 -npm ERR! -npm ERR! Failed at the @azure/keyvault-keys@X.X.X-preview.2 extract-api script. -npm ERR! This is probably not a problem with npm. There is likely additional logging output above. -npm ERR! A complete log of this run can be found in: -npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 2 -npm ERR! @azure/keyvault-secrets@X.X.X-preview.2 extract-api: `tsc -p . && api-extractor run --local` +npm ERR! @azure/core-http@X.X.X build:tsc: `tsc -p tsconfig.es.json` npm ERR! Exit status 2 npm ERR! -npm ERR! Failed at the @azure/keyvault-secrets@X.X.X-preview.2 extract-api script. +npm ERR! Failed at the @azure/core-http@X.X.X build:tsc script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log -XX of XX: [@azure/storage-blob] completed successfully in ? seconds -XX of XX: [@azure/ai-text-analytics] completed successfully in ? seconds -XX of XX: [@azure/app-configuration] completed successfully in ? seconds -XX of XX: [@azure/core-arm] completed successfully in ? seconds +ERROR: "build:tsc" exited with 2. +XX of XX: [@azure/core-paging] completed successfully in ? seconds +XX of XX: [@azure/eslint-plugin-azure-sdk] completed successfully in ? seconds XX of XX: [@azure/core-tracing] completed successfully in ? seconds dist-esm/index.js → dist/index.js... (!) Unresolved dependencies @@ -48,43 +30,15 @@ os-name (imported by dist-esm/utils/user-agent.js) Use output.globals to specify browser global variable names corresponding to external modules os-name (guessing 'osName') created dist/index.js in ?s -XX of XX: [@azure/eventhubs-checkpointstore-blob] completed successfully in ? seconds -XX of XX: [@azure/identity] completed successfully in ? seconds -XX of XX: [@azure/search] completed successfully in ? seconds -XX of XX: [@azure/service-bus] completed successfully in ? seconds -XX of XX: [@azure/storage-file-datalake] completed successfully in ? seconds -XX of XX: [@azure/storage-file-share] completed successfully in ? seconds -XX of XX: [@azure/storage-queue] completed successfully in ? seconds -XX of XX: [@azure/template] completed successfully in ? seconds -XX of XX: [testhub] completed successfully in ? seconds -SUCCESS (26) +SUCCESS (7) ================================ @azure/abort-controller (? seconds) @azure/core-auth (? seconds) @azure/logger (? seconds) @azure/core-asynciterator-polyfill (? seconds) -@azure/core-http (? seconds) -@azure/core-amqp (? seconds) -@azure/core-lro (? seconds) @azure/core-paging (? seconds) -@azure/test-utils-recorder (? seconds) @azure/eslint-plugin-azure-sdk (? seconds) -@azure/event-hubs (? seconds) -@azure/event-processor-host (? seconds) -@azure/storage-blob (? seconds) -@azure/ai-text-analytics (? seconds) -@azure/app-configuration (? seconds) -@azure/core-arm (? seconds) @azure/core-tracing (? seconds) -@azure/eventhubs-checkpointstore-blob (? seconds) -@azure/identity (? seconds) -@azure/search (? seconds) -@azure/service-bus (? seconds) -@azure/storage-file-datalake (? seconds) -@azure/storage-file-share (? seconds) -@azure/storage-queue (? seconds) -@azure/template (? seconds) -testhub (? seconds) ================================ SUCCESS WITH WARNINGS (1) ================================ @@ -98,32 +52,53 @@ Use output.globals to specify browser global variable names corresponding to ext os-name (guessing 'osName') created dist/index.js in ?s ================================ -BLOCKED (1) +BLOCKED (19) ================================ +@azure/core-lro +@azure/test-utils-recorder +@azure/event-hubs +@azure/keyvault-keys +@azure/keyvault-secrets +@azure/storage-blob +@azure/ai-text-analytics +@azure/app-configuration +@azure/core-arm +@azure/eventhubs-checkpointstore-blob +@azure/identity @azure/keyvault-certificates +@azure/search +@azure/service-bus +@azure/storage-file-datalake +@azure/storage-file-share +@azure/storage-queue +@azure/template +testhub ================================ -FAILURE (2) +FAILURE (3) ================================ -@azure/keyvault-keys ( ? seconds) -npm ERR! code ELIFECYCLE -npm ERR! errno 2 -npm ERR! @azure/keyvault-keys@X.X.X-preview.2 extract-api: `tsc -p . && api-extractor run --local` -npm ERR! Exit status 2 -npm ERR! -npm ERR! Failed at the @azure/keyvault-keys@X.X.X-preview.2 extract-api script. -npm ERR! This is probably not a problem with npm. There is likely additional logging output above. -npm ERR! A complete log of this run can be found in: -npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log -@azure/keyvault-secrets ( ? seconds) +@azure/core-http (? seconds) npm ERR! code ELIFECYCLE npm ERR! errno 2 -npm ERR! @azure/keyvault-secrets@X.X.X-preview.2 extract-api: `tsc -p . && api-extractor run --local` +npm ERR! @azure/core-http@X.X.X build:tsc: `tsc -p tsconfig.es.json` npm ERR! Exit status 2 npm ERR! -npm ERR! Failed at the @azure/keyvault-secrets@X.X.X-preview.2 extract-api script. +npm ERR! Failed at the @azure/core-http@X.X.X build:tsc script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log +ERROR: "build:tsc" exited with 2. +@azure/core-amqp (? seconds) +>>> @azure/core-amqp +tsc -p . && rollup -c 2>&1 +src/util/utils.ts(213,42): error TS2345: Argument of type '(result: T) => T' is not assignable to parameter of type '(value: awaited T) => T | PromiseLike<T>'. + Types of parameters 'result' and 'value' are incompatible. + Type 'awaited T' is not assignable to type 'T'. + 'T' could be instantiated with an arbitrary type which could be unrelated to 'awaited T'. +@azure/event-processor-host (? seconds) +>>> @azure/event-processor-host +tsc -p . && rollup -c 2>&1 && npm run extract-api +src/util/utils.ts(135,7): error TS2322: Type 'awaited T' is not assignable to type 'T'. + 'T' could be instantiated with an arbitrary type which could be unrelated to 'awaited T'. ================================ Error: Project(s) failed rush rebuild - Errors! ( ? seconds) @@ -132,9 +107,29 @@ rush rebuild - Errors! ( ? seconds) Standard error: -XX of XX: [@azure/keyvault-keys] failed! -XX of XX: [@azure/keyvault-certificates] blocked by [@azure/keyvault-keys]! -XX of XX: [@azure/keyvault-secrets] failed! +XX of XX: [@azure/core-http] failed! +XX of XX: [@azure/ai-text-analytics] blocked by [@azure/core-http]! +XX of XX: [@azure/app-configuration] blocked by [@azure/core-http]! +XX of XX: [@azure/core-arm] blocked by [@azure/core-http]! +XX of XX: [@azure/core-lro] blocked by [@azure/core-http]! +XX of XX: [@azure/keyvault-certificates] blocked by [@azure/core-http]! +XX of XX: [@azure/keyvault-keys] blocked by [@azure/core-http]! +XX of XX: [@azure/keyvault-secrets] blocked by [@azure/core-http]! +XX of XX: [@azure/storage-blob] blocked by [@azure/core-http]! +XX of XX: [@azure/eventhubs-checkpointstore-blob] blocked by [@azure/core-http]! +XX of XX: [@azure/storage-file-datalake] blocked by [@azure/core-http]! +XX of XX: [@azure/identity] blocked by [@azure/core-http]! +XX of XX: [@azure/search] blocked by [@azure/core-http]! +XX of XX: [@azure/service-bus] blocked by [@azure/core-http]! +XX of XX: [@azure/storage-file-share] blocked by [@azure/core-http]! +XX of XX: [@azure/storage-queue] blocked by [@azure/core-http]! +XX of XX: [@azure/template] blocked by [@azure/core-http]! +XX of XX: [@azure/test-utils-recorder] blocked by [@azure/core-http]! +XX of XX: [@azure/core-amqp] failed! +XX of XX: [@azure/event-hubs] blocked by [@azure/core-amqp]! +XX of XX: [@azure/event-processor-host] failed! +XX of XX: [testhub] blocked by [@azure/event-processor-host]! XX of XX: [@azure/cosmos] completed with warnings in ? seconds -[@azure/keyvault-keys] Returned error code: 2 -[@azure/keyvault-secrets] Returned error code: 2 +[@azure/core-http] Returned error code: 1 +[@azure/core-amqp] Returned error code: 2 +[@azure/event-processor-host] Returned error code: 2 diff --git a/tests/baselines/reference/docker/office-ui-fabric.log b/tests/baselines/reference/docker/office-ui-fabric.log index 3150d8fae516c..9bb12dab6d324 100644 --- a/tests/baselines/reference/docker/office-ui-fabric.log +++ b/tests/baselines/reference/docker/office-ui-fabric.log @@ -79,10 +79,10 @@ Standard output: @fluentui/docs: [XX:XX:XX] Requiring external module @uifabric/build/babel/register @fluentui/docs: [XX:XX:XX] Working directory changed to /office-ui-fabric-react @fluentui/docs: [XX:XX:XX] Using gulpfile /office-ui-fabric-react/gulpfile.ts -@fluentui/docs: > @fluentui/ability-attributes@X.X.X schema /office-ui-fabric-react/packages/fluentui/ability-attributes -@fluentui/docs: > allyschema -c "process.env.NODE_ENV !== 'production'" schema.json > ./src/schema.ts @fluentui/docs: DocToccing single file "/office-ui-fabric-react/.github/CONTRIBUTING.md" for github.com. @fluentui/docs: ================== +@fluentui/docs: > @fluentui/ability-attributes@X.X.X schema /office-ui-fabric-react/packages/fluentui/ability-attributes +@fluentui/docs: > allyschema -c "process.env.NODE_ENV !== 'production'" schema.json > ./src/schema.ts @fluentui/docs: "/office-ui-fabric-react/.github/CONTRIBUTING.md" will be updated @fluentui/docs: Everything is OK. @fluentui/docs: DocToccing single file "/office-ui-fabric-react/.github/setup-local-development.md" for github.com. @@ -132,7 +132,42 @@ Standard output: @fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'. @fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Button/ButtonContent.tsx @fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Button/ButtonContent.tsx(59,1): -@fluentui/docs: TS2322: Type '{ size: Requireable<"medium" | "large" | "small" | "larger" | "smaller" | "smallest" | "largest">; styles: Requireable<object>; variables: Requireable<object>; ... 6 more ...; accessibility: Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<ButtonContentProps>>'. +@fluentui/docs: TS2322: Type '{ size: Requireable<SvgIconSizeValue>; styles: Requireable<object>; variables: Requireable<object>; design: Requireable<InferProps<{ position: Requireable<...>; ... 20 more ...; maxHeight: Requireable<...>; }>>; ... 5 more ...; accessibility: Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<ButtonContentProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'. +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/Card.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/Card.tsx(130,1): +@fluentui/docs: TS2322: Type '{ onClick: PropTypes.Requireable<(...args: any[]) => any>; compact: PropTypes.Requireable<boolean>; horizontal: PropTypes.Requireable<boolean>; centered: PropTypes.Requireable<...>; ... 8 more ...; accessibility: PropTypes.Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<CardProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'. +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardBody.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardBody.tsx(64,1): +@fluentui/docs: TS2322: Type '{ fitted: PropTypes.Requireable<boolean>; styles: PropTypes.Requireable<object>; variables: PropTypes.Requireable<object>; design: PropTypes.Requireable<PropTypes.InferProps<{ position: PropTypes.Requireable<...>; ... 20 more ...; maxHeight: PropTypes.Requireable<...>; }>>; ... 5 more ...; accessibility: PropTypes.R...' is not assignable to type 'WeakValidationMap<WithAsProp<CardBodyProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'. +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardColumn.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardColumn.tsx(59,1): +@fluentui/docs: TS2322: Type '{ styles: Requireable<object>; variables: Requireable<object>; design: Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; ... 19 more ...; maxHeight: Requireable<...>; }>>; ... 5 more ...; accessibility: Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<CardColumnProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'. +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardFooter.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardFooter.tsx(64,1): +@fluentui/docs: TS2322: Type '{ fitted: PropTypes.Requireable<boolean>; styles: PropTypes.Requireable<object>; variables: PropTypes.Requireable<object>; design: PropTypes.Requireable<PropTypes.InferProps<{ position: PropTypes.Requireable<...>; ... 20 more ...; maxHeight: PropTypes.Requireable<...>; }>>; ... 5 more ...; accessibility: PropTypes.R...' is not assignable to type 'WeakValidationMap<WithAsProp<CardFooterProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'. +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardHeader.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardHeader.tsx(64,1): +@fluentui/docs: TS2322: Type '{ fitted: PropTypes.Requireable<boolean>; styles: PropTypes.Requireable<object>; variables: PropTypes.Requireable<object>; design: PropTypes.Requireable<PropTypes.InferProps<{ position: PropTypes.Requireable<...>; ... 20 more ...; maxHeight: PropTypes.Requireable<...>; }>>; ... 5 more ...; accessibility: PropTypes.R...' is not assignable to type 'WeakValidationMap<WithAsProp<CardHeaderProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'. +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardPreview.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardPreview.tsx(67,1): +@fluentui/docs: TS2322: Type '{ horizontal: PropTypes.Requireable<boolean>; fitted: PropTypes.Requireable<boolean>; styles: PropTypes.Requireable<object>; variables: PropTypes.Requireable<object>; ... 6 more ...; accessibility: PropTypes.Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<CardPreviewProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'. +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardTopControls.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardTopControls.tsx(60,1): +@fluentui/docs: TS2322: Type '{ styles: Requireable<object>; variables: Requireable<object>; design: Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; ... 19 more ...; maxHeight: Requireable<...>; }>>; ... 5 more ...; accessibility: Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<CardTopControlsProps>>'. @fluentui/docs: Types of property 'design' are incompatible. @fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'. @fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Chat/Chat.tsx @@ -209,7 +244,7 @@ Standard output: @fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'. @fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Status/Status.tsx @fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Status/Status.tsx(85,1): -@fluentui/docs: TS2322: Type '{ color: PropTypes.Requireable<string>; icon: (props: Record<string, any>, propName: string, componentName: string, ...args: any[]) => any; size: PropTypes.Requireable<"medium" | "large" | ... 4 more ... | "largest">; ... 8 more ...; accessibility: PropTypes.Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<StatusProps>>'. +@fluentui/docs: TS2322: Type '{ color: PropTypes.Requireable<string>; icon: (props: Record<string, any>, propName: string, componentName: string, ...args: any[]) => any; size: PropTypes.Requireable<SvgIconSizeValue>; ... 8 more ...; accessibility: PropTypes.Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<StatusProps>>'. @fluentui/docs: Types of property 'design' are incompatible. @fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'. @fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Table/TableCell.tsx @@ -315,7 +350,35 @@ info cli using local version of lerna @fluentui/docs: Types of property 'design' are incompatible. @fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'.,/office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Button/ButtonContent.tsx @fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Button/ButtonContent.tsx(59,1): -@fluentui/docs: TS2322: Type '{ size: Requireable<"medium" | "large" | "small" | "larger" | "smaller" | "smallest" | "largest">; styles: Requireable<object>; variables: Requireable<object>; ... 6 more ...; accessibility: Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<ButtonContentProps>>'. +@fluentui/docs: TS2322: Type '{ size: Requireable<SvgIconSizeValue>; styles: Requireable<object>; variables: Requireable<object>; design: Requireable<InferProps<{ position: Requireable<...>; ... 20 more ...; maxHeight: Requireable<...>; }>>; ... 5 more ...; accessibility: Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<ButtonContentProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'.,/office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/Card.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/Card.tsx(130,1): +@fluentui/docs: TS2322: Type '{ onClick: PropTypes.Requireable<(...args: any[]) => any>; compact: PropTypes.Requireable<boolean>; horizontal: PropTypes.Requireable<boolean>; centered: PropTypes.Requireable<...>; ... 8 more ...; accessibility: PropTypes.Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<CardProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'.,/office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardBody.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardBody.tsx(64,1): +@fluentui/docs: TS2322: Type '{ fitted: PropTypes.Requireable<boolean>; styles: PropTypes.Requireable<object>; variables: PropTypes.Requireable<object>; design: PropTypes.Requireable<PropTypes.InferProps<{ position: PropTypes.Requireable<...>; ... 20 more ...; maxHeight: PropTypes.Requireable<...>; }>>; ... 5 more ...; accessibility: PropTypes.R...' is not assignable to type 'WeakValidationMap<WithAsProp<CardBodyProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'.,/office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardColumn.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardColumn.tsx(59,1): +@fluentui/docs: TS2322: Type '{ styles: Requireable<object>; variables: Requireable<object>; design: Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; ... 19 more ...; maxHeight: Requireable<...>; }>>; ... 5 more ...; accessibility: Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<CardColumnProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'.,/office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardFooter.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardFooter.tsx(64,1): +@fluentui/docs: TS2322: Type '{ fitted: PropTypes.Requireable<boolean>; styles: PropTypes.Requireable<object>; variables: PropTypes.Requireable<object>; design: PropTypes.Requireable<PropTypes.InferProps<{ position: PropTypes.Requireable<...>; ... 20 more ...; maxHeight: PropTypes.Requireable<...>; }>>; ... 5 more ...; accessibility: PropTypes.R...' is not assignable to type 'WeakValidationMap<WithAsProp<CardFooterProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'.,/office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardHeader.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardHeader.tsx(64,1): +@fluentui/docs: TS2322: Type '{ fitted: PropTypes.Requireable<boolean>; styles: PropTypes.Requireable<object>; variables: PropTypes.Requireable<object>; design: PropTypes.Requireable<PropTypes.InferProps<{ position: PropTypes.Requireable<...>; ... 20 more ...; maxHeight: PropTypes.Requireable<...>; }>>; ... 5 more ...; accessibility: PropTypes.R...' is not assignable to type 'WeakValidationMap<WithAsProp<CardHeaderProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'.,/office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardPreview.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardPreview.tsx(67,1): +@fluentui/docs: TS2322: Type '{ horizontal: PropTypes.Requireable<boolean>; fitted: PropTypes.Requireable<boolean>; styles: PropTypes.Requireable<object>; variables: PropTypes.Requireable<object>; ... 6 more ...; accessibility: PropTypes.Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<CardPreviewProps>>'. +@fluentui/docs: Types of property 'design' are incompatible. +@fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'.,/office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardTopControls.tsx +@fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Card/CardTopControls.tsx(60,1): +@fluentui/docs: TS2322: Type '{ styles: Requireable<object>; variables: Requireable<object>; design: Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; ... 19 more ...; maxHeight: Requireable<...>; }>>; ... 5 more ...; accessibility: Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<CardTopControlsProps>>'. @fluentui/docs: Types of property 'design' are incompatible. @fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'.,/office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Chat/Chat.tsx @fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Chat/Chat.tsx(105,1): @@ -377,7 +440,7 @@ info cli using local version of lerna @fluentui/docs: Types of property 'design' are incompatible. @fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'.,/office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Status/Status.tsx @fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Status/Status.tsx(85,1): -@fluentui/docs: TS2322: Type '{ color: PropTypes.Requireable<string>; icon: (props: Record<string, any>, propName: string, componentName: string, ...args: any[]) => any; size: PropTypes.Requireable<"medium" | "large" | ... 4 more ... | "largest">; ... 8 more ...; accessibility: PropTypes.Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<StatusProps>>'. +@fluentui/docs: TS2322: Type '{ color: PropTypes.Requireable<string>; icon: (props: Record<string, any>, propName: string, componentName: string, ...args: any[]) => any; size: PropTypes.Requireable<SvgIconSizeValue>; ... 8 more ...; accessibility: PropTypes.Requireable<...>; }' is not assignable to type 'WeakValidationMap<WithAsProp<StatusProps>>'. @fluentui/docs: Types of property 'design' are incompatible. @fluentui/docs: Type 'Requireable<InferProps<{ position: Requireable<string>; display: Requireable<string>; top: Requireable<string>; right: Requireable<string>; bottom: Requireable<...>; ... 16 more ...; maxHeight: Requireable<...>; }>>' is not assignable to type 'Validator<ComponentDesignProp>'.,/office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Table/TableCell.tsx @fluentui/docs: ERROR in /office-ui-fabric-react/packages/fluentui/react-northstar/src/components/Table/TableCell.tsx(126,1): diff --git a/tests/baselines/reference/docker/vscode.log b/tests/baselines/reference/docker/vscode.log index 28585d689297a..247bdde92a1b6 100644 --- a/tests/baselines/reference/docker/vscode.log +++ b/tests/baselines/reference/docker/vscode.log @@ -4,47 +4,25 @@ yarn run vX.X.X $ gulp compile --max_old_space_size=4095 [XX:XX:XX] Node flags detected: --max_old_space_size=4095 [XX:XX:XX] Using gulpfile /vscode/gulpfile.js -[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(222,5): Type 'null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(225,7): Type 'null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(229,7): Type 'null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/workbench/contrib/search/common/searchModel.ts(609,21): Type 'FileMatch | FileMatch[]' must have a '[Symbol.iterator]()' method that returns an iterator. -[XX:XX:XX] Error: /vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts(470,5): Type 'null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/base/parts/quickinput/browser/quickInputList.ts(474,3): Type '"none" | null' is not assignable to type 'string'. - Type 'null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/splitview/splitview.ts(113,3): Type '"none" | null' is not assignable to type 'string'. - Type 'null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/pointerHandler.ts(45,45): Property 'msTouchAction' does not exist on type 'CSSStyleDeclaration'. Did you mean 'touchAction'? -[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/pointerHandler.ts(46,45): Property 'msContentZooming' does not exist on type 'CSSStyleDeclaration'. -[XX:XX:XX] Error: /vscode/src/vs/workbench/workbench.web.api.ts(249,25): Type 'readonly ICommand[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator. -[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/splitview/splitview.ts(113,3): Type '"none" | null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(222,5): Type 'null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(225,7): Type 'null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/workbench/electron-browser/parts/titlebar/titlebarPart.ts(229,7): Type 'null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/workbench/contrib/search/common/searchModel.ts(609,21): Type 'FileMatch | FileMatch[]' must have a '[Symbol.iterator]()' method that returns an iterator. -[XX:XX:XX] Error: /vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts(470,5): Type 'null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/base/parts/quickinput/browser/quickInputList.ts(474,3): Type '"none" | null' is not assignable to type 'string'. - Type 'null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/splitview/splitview.ts(113,3): Type '"none" | null' is not assignable to type 'string'. - Type 'null' is not assignable to type 'string'. -[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/pointerHandler.ts(45,45): Property 'msTouchAction' does not exist on type 'CSSStyleDeclaration'. Did you mean 'touchAction'? -[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/pointerHandler.ts(46,45): Property 'msContentZooming' does not exist on type 'CSSStyleDeclaration'. -[XX:XX:XX] Error: /vscode/src/vs/workbench/workbench.web.api.ts(249,25): Type 'readonly ICommand[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator. -[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/splitview/splitview.ts(113,3): Type '"none" | null' is not assignable to type 'string'. +[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/list/listPaging.ts(58,53): Argument of type 'awaited TElement' is not assignable to parameter of type 'TElement'. +[XX:XX:XX] Error: /vscode/extensions/github-authentication/src/common/utils.ts(64,3): Argument of type '(result: U) => U' is not assignable to parameter of type '(value: awaited U) => U | PromiseLike<U>'. + Types of parameters 'result' and 'value' are incompatible. + Type 'awaited U' is not assignable to type 'U'. + 'U' could be instantiated with an arbitrary type which could be unrelated to 'awaited U'. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Standard error: -[XX:XX:XX] 'compile' errored after -[XX:XX:XX] Error: Found 10 errors +[XX:XX:XX] 'compile' errored after ?s +[XX:XX:XX] Error: Found 1 errors at Stream.<anonymous> (/vscode/build/lib/reporter.js:75:29) at _end (/vscode/node_modules/through/index.js:65:9) at Stream.stream.end (/vscode/node_modules/through/index.js:74:5) - at Stream.onend (internal/streams/legacy.js:42:10) - at Stream.emit (events.js:203:15) - at Stream.EventEmitter.emit (domain.js:466:23) - at drain (/vscode/node_modules/through/index.js:34:23) - at Stream.stream.queue.stream.push (/vscode/node_modules/through/index.js:45:5) - at Stream.end (/vscode/node_modules/through/index.js:15:35) - at _end (/vscode/node_modules/through/index.js:65:9) + at StreamFilter.onend (/vscode/node_modules/readable-stream/lib/_stream_readable.js:570:10) + at Object.onceWrapper (events.js:286:20) + at StreamFilter.emit (events.js:203:15) + at StreamFilter.EventEmitter.emit (domain.js:466:23) + at endReadableNT (/vscode/node_modules/readable-stream/lib/_stream_readable.js:992:12) + at process._tickCallback (internal/process/next_tick.js:63:19) error Command failed with exit code 1. diff --git a/tests/baselines/reference/docker/vue-next.log b/tests/baselines/reference/docker/vue-next.log index 8f172528446fe..b3a4997a72457 100644 --- a/tests/baselines/reference/docker/vue-next.log +++ b/tests/baselines/reference/docker/vue-next.log @@ -1,7 +1,7 @@ Exit Code: 0 Standard output: -> @X.X.X-alpha.9 build /vue-next +> @X.X.X-alpha.10 build /vue-next > node scripts/build.js "--types" Rolling up type definitions for compiler-core... Writing: /vue-next/temp/compiler-core.api.json @@ -75,10 +75,10 @@ created packages/reactivity/dist/reactivity.global.prod.js in ?s /vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm.prod.js... created packages/reactivity/dist/reactivity.esm.prod.js in ?s /vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.esm-bundler.js... -[!] (plugin rpt2) Error: /vue-next/packages/runtime-core/src/apiOptions.ts(137,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'. +[!] (plugin rpt2) Error: /vue-next/packages/runtime-core/src/apiOptions.ts(143,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'. Type 'Function' provides no match for the signature '(...args: any): any'. packages/runtime-core/src/apiOptions.ts -Error: /vue-next/packages/runtime-core/src/apiOptions.ts(137,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'. +Error: /vue-next/packages/runtime-core/src/apiOptions.ts(143,18): semantic error TS2344: Type 'Function & T[key]["get"]' does not satisfy the constraint '(...args: any) => any'. Type 'Function' provides no match for the signature '(...args: any): any'. at error (/vue-next/node_modules/rollup/dist/shared/node-entry.js:5400:30) at throwPluginError (/vue-next/node_modules/rollup/dist/shared/node-entry.js:11878:12) @@ -90,12 +90,12 @@ Error: /vue-next/packages/runtime-core/src/apiOptions.ts(137,18): semantic error at forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14) at _.each (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2) at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:234:5) -(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:342d46d,NODE_ENV:production,TARGET:runtime-core,TYPES:true +(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:394fd4c,NODE_ENV:production,TARGET:runtime-core,TYPES:true at makeError (/vue-next/node_modules/execa/lib/error.js:59:11) at handlePromise (/vue-next/node_modules/execa/index.js:112:26) at processTicksAndRejections (internal/process/task_queues.js:97:5) - at async build (/vue-next/scripts/build.js:72:3) - at async buildAll (/vue-next/scripts/build.js:51:5) - at async run (/vue-next/scripts/build.js:41:5) + at async build (/vue-next/scripts/build.js:71:3) + at async buildAll (/vue-next/scripts/build.js:50:5) + at async run (/vue-next/scripts/build.js:40:5) (node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. diff --git a/tests/baselines/reference/user/TypeScript-Node-Starter.log b/tests/baselines/reference/user/TypeScript-Node-Starter.log new file mode 100644 index 0000000000000..17af47fde7644 --- /dev/null +++ b/tests/baselines/reference/user/TypeScript-Node-Starter.log @@ -0,0 +1,16 @@ +Exit Code: 1 +Standard output: +node_modules/@types/bluebird/index.d.ts(61,3): error TS2416: Property 'then' in type 'Bluebird<R>' is not assignable to the same property in base type 'PromiseLike<R>'. + Type '{ <U>(onFulfill?: (value: R) => Resolvable<U>, onReject?: (error: any) => Resolvable<U>): Bluebird<U>; <TResult1 = R, TResult2 = never>(onfulfilled?: (value: R) => Resolvable<TResult1>, onrejected?: (reason: any) => Resolvable<...>): Bluebird<...>; }' is not assignable to type '<TResult1 = R, TResult2 = never>(onfulfilled?: (value: awaited R) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => PromiseLike<...>'. + Types of parameters 'onFulfill' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type 'R' is not assignable to type 'awaited R'. +node_modules/@types/bluebird/index.d.ts(62,3): error TS2416: Property 'then' in type 'Bluebird<R>' is not assignable to the same property in base type 'PromiseLike<R>'. + Type '{ <U>(onFulfill?: (value: R) => Resolvable<U>, onReject?: (error: any) => Resolvable<U>): Bluebird<U>; <TResult1 = R, TResult2 = never>(onfulfilled?: (value: R) => Resolvable<TResult1>, onrejected?: (reason: any) => Resolvable<...>): Bluebird<...>; }' is not assignable to type '<TResult1 = R, TResult2 = never>(onfulfilled?: (value: awaited R) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => PromiseLike<...>'. +node_modules/@types/jquery/misc.d.ts(1205,15): error TS2430: Interface 'PromiseBase<TR, TJ, TN, UR, UJ, UN, VR, VJ, VN, SR, SJ, SN>' incorrectly extends interface '_Promise<TR>'. + Types of property 'then' are incompatible. + Type '{ <ARD = never, AJD = never, AND = never, BRD = never, BJD = never, BND = never, CRD = never, CJD = never, CND = never, RRD = never, RJD = never, RND = never, ARF = never, AJF = never, ANF = never, BRF = never, BJF = never, BNF = never, CRF = never, CJF = never, CNF = never, RRF = never, RJF = never, RNF = never, AR...' is not assignable to type '<TResult1 = TR, TResult2 = never>(onfulfilled?: (value: TR) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => _Promise<...>'. + + + +Standard error: diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log index 9eeea3d16454e..00d698aaadedf 100644 --- a/tests/baselines/reference/user/chrome-devtools-frontend.log +++ b/tests/baselines/reference/user/chrome-devtools-frontend.log @@ -8,7 +8,11 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(78,16): error TS7014: node_modules/chrome-devtools-frontend/front_end/Runtime.js(95,28): error TS2339: Property 'response' does not exist on type 'EventTarget'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(147,37): error TS2339: Property '_importScriptPathPrefix' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(270,9): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'. - Type 'void' is not assignable to type 'undefined'. + Types of property 'then' are incompatible. + Type '<TResult1 = void, TResult2 = never>(onfulfilled?: (value: void) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>' is not assignable to type '<TResult1 = undefined, TResult2 = never>(onfulfilled?: (value: undefined) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type 'void' is not assignable to type 'undefined'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(280,5): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(283,12): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/Runtime.js(525,9): error TS2322: Type 'Window' is not assignable to type 'Window & typeof globalThis'. @@ -18,7 +22,11 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(527,49): error TS2352 node_modules/chrome-devtools-frontend/front_end/Runtime.js(539,24): error TS2351: This expression is not constructable. Type 'Function' has no construct signatures. node_modules/chrome-devtools-frontend/front_end/Runtime.js(693,7): error TS2322: Type 'Promise<boolean>' is not assignable to type 'Promise<undefined>'. - Type 'boolean' is not assignable to type 'undefined'. + Types of property 'then' are incompatible. + Type '<TResult1 = boolean, TResult2 = never>(onfulfilled?: (value: boolean) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>' is not assignable to type '<TResult1 = undefined, TResult2 = never>(onfulfilled?: (value: undefined) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type 'boolean' is not assignable to type 'undefined'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(705,5): error TS2322: Type 'Promise<boolean>' is not assignable to type 'Promise<undefined>'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(715,7): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(729,7): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'. @@ -106,8 +114,11 @@ node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(182,13): error TS2339: Property 'consume' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(213,36): error TS2339: Property '_isEditingName' does not exist on type 'ARIAAttributePrompt'. node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(215,5): error TS2322: Type 'Promise<{ text: string; }[]>' is not assignable to type 'Promise<{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]>'. - Type '{ text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. - Type '{ text: string; }' is missing the following properties from type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }': subtitle, iconType, priority, isSecondary, title + Types of property 'then' are incompatible. + Type '<TResult1 = { text: string; }[], TResult2 = never>(onfulfilled?: (value: { text: string; }[]) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>' is not assignable to type '<TResult1 = { text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[], TResult2 = never>(onfulfilled?: (value: { text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]) => TResult1 | PromiseLike<...>, onrejecte...'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type '{ text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAMetadata.js(56,35): error TS2339: Property '_instance' does not exist on type 'typeof ARIAMetadata'. node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAMetadata.js(57,32): error TS2339: Property '_instance' does not exist on type 'typeof ARIAMetadata'. node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAMetadata.js(58,37): error TS2339: Property '_instance' does not exist on type 'typeof ARIAMetadata'. @@ -639,6 +650,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(9093,57): error TS2554: Expected 0-2 arguments, but got 3. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(9117,73): error TS2554: Expected 0-2 arguments, but got 3. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(9467,15): error TS2339: Property 'axe' does not exist on type 'Window & typeof globalThis'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(9823,40): error TS2488: Type '{ [x: string]: any; }' must have a '[Symbol.iterator]()' method that returns an iterator. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(10092,16): error TS2304: Cannot find name 'd41d8cd98f00b204e9800998ecf8427e_LibraryDetectorTests'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(10513,19): error TS2488: Type 'NodeListOf<Element>' must have a '[Symbol.iterator]()' method that returns an iterator. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(10811,19): error TS2304: Cannot find name 'getElementsInDocument'. @@ -659,8 +671,12 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(15636,30): error TS2304: Cannot find name 'fs'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(15645,18): error TS2304: Cannot find name 'fs'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(15684,1): error TS2322: Type 'Promise<void | any[]>' is not assignable to type 'Promise<any[]>'. - Type 'void | any[]' is not assignable to type 'any[]'. - Type 'void' is not assignable to type 'any[]'. + Types of property 'then' are incompatible. + Type '<TResult1 = void | any[], TResult2 = never>(onfulfilled?: (value: void | any[]) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>' is not assignable to type '<TResult1 = any[], TResult2 = never>(onfulfilled?: (value: any[]) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type 'void | any[]' is not assignable to type 'any[]'. + Type 'void' is not assignable to type 'any[]'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(15687,1): error TS2304: Cannot find name 'fs'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(15694,1): error TS2322: Type 'Promise<void | any[]>' is not assignable to type 'Promise<any[]>'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(15695,1): error TS2304: Cannot find name 'fs'. @@ -689,16 +705,24 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(18010,29): error TS2554: Expected 0 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(19499,6): error TS2339: Property 'Util' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(19585,1): error TS2322: Type 'Promise<void | { artifacts: any; auditResults: any[]; }>' is not assignable to type 'Promise<void>'. - Type 'void | { artifacts: any; auditResults: any[]; }' is not assignable to type 'void'. - Type '{ artifacts: any; auditResults: any[]; }' is not assignable to type 'void'. + Types of property 'then' are incompatible. + Type '<TResult1 = void | { artifacts: any; auditResults: any[]; }, TResult2 = never>(onfulfilled?: (value: void | { artifacts: any; auditResults: any[]; }) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = void, TResult2 = never>(onfulfilled?: (value: void) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type 'void | { artifacts: any; auditResults: any[]; }' is not assignable to type 'void'. + Type '{ artifacts: any; auditResults: any[]; }' is not assignable to type 'void'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(19591,15): error TS2339: Property 'artifacts' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(19592,42): error TS2339: Property 'artifacts' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(19597,31): error TS2339: Property 'auditResults' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(19605,22): error TS2339: Property 'artifacts' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(19612,22): error TS2339: Property 'artifacts' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(19683,1): error TS2322: Type 'Promise<number | void>' is not assignable to type 'Promise<void>'. - Type 'number | void' is not assignable to type 'void'. - Type 'number' is not assignable to type 'void'. + Types of property 'then' are incompatible. + Type '<TResult1 = number | void, TResult2 = never>(onfulfilled?: (value: number | void) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>' is not assignable to type '<TResult1 = void, TResult2 = never>(onfulfilled?: (value: void) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type 'number | void' is not assignable to type 'void'. + Type 'number' is not assignable to type 'void'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(19744,7): error TS2339: Property 'expected' does not exist on type 'Error'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20005,8): error TS2339: Property 'runLighthouseForConnection' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20015,15): error TS2554: Expected 0 arguments, but got 1. @@ -5041,9 +5065,12 @@ node_modules/chrome-devtools-frontend/front_end/elements/ClassesPaneWidget.js(29 node_modules/chrome-devtools-frontend/front_end/elements/ClassesPaneWidget.js(297,55): error TS2339: Property 'addAll' does not exist on type 'Set<any>'. node_modules/chrome-devtools-frontend/front_end/elements/ClassesPaneWidget.js(299,57): error TS2339: Property 'valuesArray' does not exist on type 'Set<any>'. node_modules/chrome-devtools-frontend/front_end/elements/ClassesPaneWidget.js(319,5): error TS2322: Type 'Promise<{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[] | { text: string; }[]>' is not assignable to type 'Promise<{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]>'. - Type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[] | { text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. - Type '{ text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. - Type '{ text: string; }' is missing the following properties from type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }': subtitle, iconType, priority, isSecondary, title + Types of property 'then' are incompatible. + Type '<TResult1 = { text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[] | { text: string; }[], TResult2 = never>(onfulfilled?: (value: { text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[] | { ...; }[]) => TRe...' is not assignable to type '<TResult1 = { text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[], TResult2 = never>(onfulfilled?: (value: { text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]) => TResult1 | PromiseLike<...>, onrejecte...'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[] | { text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. + Type '{ text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(18,32): error TS2339: Property 'title' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(18,47): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(20,77): error TS2339: Property 'consume' does not exist on type 'Event'. @@ -5060,28 +5087,17 @@ node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon. node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(248,11): error TS2339: Property 'consume' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(262,47): error TS2339: Property 'enclosingNodeOrSelfWithClass' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleModel.js(122,5): error TS2322: Type 'Promise<Map<string, string>>' is not assignable to type 'Promise<ComputedStyle>'. - Type 'Map<string, string>' is missing the following properties from type 'ComputedStyle': node, computedStyle + Types of property 'then' are incompatible. + Type '<TResult1 = Map<string, string>, TResult2 = never>(onfulfilled?: (value: Map<string, string>) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = ComputedStyle, TResult2 = never>(onfulfilled?: (value: ComputedStyle) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type 'Map<string, string>' is not assignable to type 'ComputedStyle'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(48,36): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(51,16): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(52,56): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(58,78): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(73,12): error TS2339: Property '_filterRegex' does not exist on type 'ComputedStyleWidget'. -node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(91,24): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '(Promise<ComputedStyle> | Promise<CSSMatchedStyles>)[]' is not assignable to parameter of type 'Iterable<ComputedStyle | PromiseLike<ComputedStyle>>'. - The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. - Type 'IteratorResult<Promise<ComputedStyle> | Promise<CSSMatchedStyles>, any>' is not assignable to type 'IteratorResult<ComputedStyle | PromiseLike<ComputedStyle>, any>'. - Type 'IteratorYieldResult<Promise<ComputedStyle> | Promise<CSSMatchedStyles>>' is not assignable to type 'IteratorResult<ComputedStyle | PromiseLike<ComputedStyle>, any>'. - Type 'IteratorYieldResult<Promise<ComputedStyle> | Promise<CSSMatchedStyles>>' is not assignable to type 'IteratorYieldResult<ComputedStyle | PromiseLike<ComputedStyle>>'. - Type 'Promise<ComputedStyle> | Promise<CSSMatchedStyles>' is not assignable to type 'ComputedStyle | PromiseLike<ComputedStyle>'. - Type 'Promise<CSSMatchedStyles>' is not assignable to type 'ComputedStyle | PromiseLike<ComputedStyle>'. - Type 'Promise<CSSMatchedStyles>' is not assignable to type 'PromiseLike<ComputedStyle>'. - Types of property 'then' are incompatible. - Type '<TResult1 = CSSMatchedStyles, TResult2 = never>(onfulfilled?: (value: CSSMatchedStyles) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = ComputedStyle, TResult2 = never>(onfulfilled?: (value: ComputedStyle) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => PromiseLike<...>'. - Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. - Types of parameters 'value' and 'value' are incompatible. - Property 'computedStyle' is missing in type 'CSSMatchedStyles' but required in type 'ComputedStyle'. -node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(91,34): error TS2339: Property 'spread' does not exist on type 'Promise<[any, any, any, any, any, any, any, any, any, any]>'. +node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(91,34): error TS2339: Property 'spread' does not exist on type 'Promise<(CSSMatchedStyles | ComputedStyle)[]>'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(147,52): error TS2339: Property 'keysArray' does not exist on type 'Map<string, string>'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(179,50): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(200,74): error TS2339: Property 'consume' does not exist on type 'Event'. @@ -5390,21 +5406,6 @@ node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeContr Type 'T' is not assignable to type 'OverlayModel'. node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(91,24): error TS2694: Namespace 'Protocol' has no exported member 'Overlay'. node_modules/chrome-devtools-frontend/front_end/elements/MetricsSidebarPane.js(56,27): error TS2339: Property 'removeChildren' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/elements/MetricsSidebarPane.js(82,24): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '(Promise<Map<string, string>> | Promise<InlineStyleResult>)[]' is not assignable to parameter of type 'Iterable<Map<string, string> | PromiseLike<Map<string, string>>>'. - The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. - Type 'IteratorResult<Promise<Map<string, string>> | Promise<InlineStyleResult>, any>' is not assignable to type 'IteratorResult<Map<string, string> | PromiseLike<Map<string, string>>, any>'. - Type 'IteratorYieldResult<Promise<Map<string, string>> | Promise<InlineStyleResult>>' is not assignable to type 'IteratorResult<Map<string, string> | PromiseLike<Map<string, string>>, any>'. - Type 'IteratorYieldResult<Promise<Map<string, string>> | Promise<InlineStyleResult>>' is not assignable to type 'IteratorYieldResult<Map<string, string> | PromiseLike<Map<string, string>>>'. - Type 'Promise<Map<string, string>> | Promise<InlineStyleResult>' is not assignable to type 'Map<string, string> | PromiseLike<Map<string, string>>'. - Type 'Promise<InlineStyleResult>' is not assignable to type 'Map<string, string> | PromiseLike<Map<string, string>>'. - Type 'Promise<InlineStyleResult>' is not assignable to type 'PromiseLike<Map<string, string>>'. - Types of property 'then' are incompatible. - Type '<TResult1 = InlineStyleResult, TResult2 = never>(onfulfilled?: (value: InlineStyleResult) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = Map<string, string>, TResult2 = never>(onfulfilled?: (value: Map<string, string>) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => PromiseLike<...>'. - Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. - Types of parameters 'value' and 'value' are incompatible. - Type 'InlineStyleResult' is missing the following properties from type 'Map<string, string>': clear, delete, forEach, get, and 8 more. node_modules/chrome-devtools-frontend/front_end/elements/MetricsSidebarPane.js(120,11): error TS2339: Property 'consume' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/elements/MetricsSidebarPane.js(164,22): error TS2339: Property 'toFixedIfFloating' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/elements/MetricsSidebarPane.js(179,18): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. @@ -9884,6 +9885,12 @@ node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1177,14): er node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1179,3): error TS2416: Property 'callFunctionJSON' in type 'LocalJSONObject' is not assignable to the same property in base type 'RemoteObject'. Type '(functionDeclaration: (this: any) => any, args: any[], callback: (arg0: any) => any) => void' is not assignable to type '<T>(functionDeclaration: (this: any, ...arg1: any[]) => T, args: any[], callback: (arg0: T) => any) => void'. Types of parameters 'functionDeclaration' and 'functionDeclaration' are incompatible. +node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1291,5): error TS2322: Type 'Promise<(awaited T)[]>' is not assignable to type 'Promise<T[]>'. + Types of property 'then' are incompatible. + Type '<TResult1 = (awaited T)[], TResult2 = never>(onfulfilled?: (value: (awaited T)[]) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>' is not assignable to type '<TResult1 = T[], TResult2 = never>(onfulfilled?: (value: T[]) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type '(awaited T)[]' is not assignable to type 'T[]'. node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(38,24): error TS2694: Namespace 'Protocol' has no exported member 'Page'. node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(39,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(56,55): error TS2339: Property 'isValid' does not exist on type 'Date'. @@ -10234,6 +10241,7 @@ node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(323,3) Type 'T' is not assignable to type 'SecurityModel'. node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(375,25): error TS2694: Namespace 'Protocol' has no exported member 'Security'. node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(376,25): error TS2694: Namespace 'Protocol' has no exported member 'Network'. +node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(377,23): error TS1099: Type argument list cannot be empty. node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(389,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(416,59): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(440,24): error TS2694: Namespace 'Protocol' has no exported member 'Security'. @@ -10551,8 +10559,11 @@ node_modules/chrome-devtools-frontend/front_end/sources/CSSPlugin.js(223,11): er node_modules/chrome-devtools-frontend/front_end/sources/CSSPlugin.js(266,25): error TS2339: Property 'setColor' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/sources/CSSPlugin.js(292,25): error TS2339: Property 'setBezierText' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/sources/CSSPlugin.js(347,5): error TS2322: Type 'Promise<{ text: string; }[]>' is not assignable to type 'Promise<{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]>'. - Type '{ text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. - Type '{ text: string; }' is missing the following properties from type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }': subtitle, iconType, priority, isSecondary, title + Types of property 'then' are incompatible. + Type '<TResult1 = { text: string; }[], TResult2 = never>(onfulfilled?: (value: { text: string; }[]) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>' is not assignable to type '<TResult1 = { text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[], TResult2 = never>(onfulfilled?: (value: { text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]) => TResult1 | PromiseLike<...>, onrejecte...'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type '{ text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. node_modules/chrome-devtools-frontend/front_end/sources/CallStackSidebarPane.js(33,18): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/CallStackSidebarPane.js(39,57): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/sources/CallStackSidebarPane.js(40,56): error TS2555: Expected at least 2 arguments, but got 1. @@ -11369,8 +11380,11 @@ node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorUtils.js(1 node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorUtils.js(149,67): error TS2339: Property 'length' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/text_editor/TextEditorAutocompleteController.js(42,30): error TS2345: Argument of type 'void' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/text_editor/TextEditorAutocompleteController.js(130,5): error TS2322: Type 'Promise<{ text: string; }[]>' is not assignable to type 'Promise<{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]>'. - Type '{ text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. - Type '{ text: string; }' is missing the following properties from type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }': subtitle, iconType, priority, isSecondary, title + Types of property 'then' are incompatible. + Type '<TResult1 = { text: string; }[], TResult2 = never>(onfulfilled?: (value: { text: string; }[]) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>' is not assignable to type '<TResult1 = { text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[], TResult2 = never>(onfulfilled?: (value: { text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]) => TResult1 | PromiseLike<...>, onrejecte...'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type '{ text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. node_modules/chrome-devtools-frontend/front_end/text_editor/TextEditorAutocompleteController.js(163,43): error TS2339: Property 'line' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/text_editor/TextEditorAutocompleteController.js(163,85): error TS2339: Property 'ch' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/text_editor/TextEditorAutocompleteController.js(168,83): error TS2339: Property 'line' does not exist on type 'void'. @@ -11532,8 +11546,12 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.j node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(246,68): error TS2339: Property 'peekLast' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(248,81): error TS2339: Property '_overviewIndex' does not exist on type 'TimelineCategory'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(384,7): error TS2322: Type 'Promise<HTMLImageElement | (new (width?: number, height?: number) => HTMLImageElement)>' is not assignable to type 'Promise<HTMLImageElement>'. - Type 'HTMLImageElement | (new (width?: number, height?: number) => HTMLImageElement)' is not assignable to type 'HTMLImageElement'. - Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'HTMLImageElement': align, alt, border, complete, and 257 more. + Types of property 'then' are incompatible. + Type '<TResult1 = HTMLImageElement | (new (width?: number, height?: number) => HTMLImageElement), TResult2 = never>(onfulfilled?: (value: HTMLImageElement | (new (width?: number, height?: number) => HTMLImageElement)) => TResult1 | PromiseLike<...>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = HTMLImageElement, TResult2 = never>(onfulfilled?: (value: HTMLImageElement) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type 'HTMLImageElement | (new (width?: number, height?: number) => HTMLImageElement)' is not assignable to type 'HTMLImageElement'. + Type 'new (width?: number, height?: number) => HTMLImageElement' is not assignable to type 'HTMLImageElement'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(457,17): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(483,31): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(524,28): error TS2339: Property 'peekLast' does not exist on type 'TimelineFrame[]'. @@ -12304,8 +12322,11 @@ node_modules/chrome-devtools-frontend/front_end/ui/FilterBar.js(351,46): error T node_modules/chrome-devtools-frontend/front_end/ui/FilterBar.js(351,59): error TS2339: Property 'shiftKey' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/ui/FilterBar.js(352,37): error TS2339: Property 'typeName' does not exist on type 'EventTarget'. node_modules/chrome-devtools-frontend/front_end/ui/FilterSuggestionBuilder.js(51,5): error TS2322: Type 'Promise<{ text: string; }[]>' is not assignable to type 'Promise<{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]>'. - Type '{ text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. - Type '{ text: string; }' is missing the following properties from type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }': subtitle, iconType, priority, isSecondary, title + Types of property 'then' are incompatible. + Type '<TResult1 = { text: string; }[], TResult2 = never>(onfulfilled?: (value: { text: string; }[]) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>' is not assignable to type '<TResult1 = { text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[], TResult2 = never>(onfulfilled?: (value: { text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]) => TResult1 | PromiseLike<...>, onrejecte...'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type '{ text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. node_modules/chrome-devtools-frontend/front_end/ui/ForwardedInputEventHandler.js(9,27): error TS2339: Property 'events' does not exist on type 'InspectorFrontendHostAPI'. node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(113,55): error TS2339: Property 'hasAttributes' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(114,18): error TS2339: Property 'hasAttribute' does not exist on type 'Node'. @@ -13054,27 +13075,9 @@ node_modules/chrome-devtools-frontend/front_end/ui/View.js(326,21): error TS2339 node_modules/chrome-devtools-frontend/front_end/ui/View.js(371,23): error TS2339: Property 'showView' does not exist on type '_Location'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(440,18): error TS2339: Property 'tabIndex' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(454,38): error TS2339: Property 'hasFocus' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/ui/View.js(461,44): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '(Promise<void> | Promise<ToolbarItem[]>)[]' is not assignable to parameter of type 'Iterable<void | PromiseLike<void>>'. - The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. - Type 'IteratorResult<Promise<void> | Promise<ToolbarItem[]>, any>' is not assignable to type 'IteratorResult<void | PromiseLike<void>, any>'. - Type 'IteratorYieldResult<Promise<void> | Promise<ToolbarItem[]>>' is not assignable to type 'IteratorResult<void | PromiseLike<void>, any>'. - Type 'IteratorYieldResult<Promise<void> | Promise<ToolbarItem[]>>' is not assignable to type 'IteratorYieldResult<void | PromiseLike<void>>'. - Type 'Promise<void> | Promise<ToolbarItem[]>' is not assignable to type 'void | PromiseLike<void>'. - Type 'Promise<ToolbarItem[]>' is not assignable to type 'void | PromiseLike<void>'. - Type 'Promise<ToolbarItem[]>' is not assignable to type 'PromiseLike<void>'. - Types of property 'then' are incompatible. - Type '<TResult1 = ToolbarItem[], TResult2 = never>(onfulfilled?: (value: ToolbarItem[]) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = void, TResult2 = never>(onfulfilled?: (value: void) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => PromiseLike<...>'. - Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. - Types of parameters 'value' and 'value' are incompatible. - Type 'ToolbarItem[]' is not assignable to type 'void'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(495,24): error TS2339: Property 'createTextChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(496,24): error TS2339: Property 'tabIndex' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(501,25): error TS2339: Property 'createChild' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/ui/View.js(520,44): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '(Promise<void> | Promise<ToolbarItem[]>)[]' is not assignable to parameter of type 'Iterable<void | PromiseLike<void>>'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(556,36): error TS2339: Property 'keyCode' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(558,22): error TS2339: Property 'key' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(560,22): error TS2339: Property 'key' does not exist on type 'Event'. diff --git a/tests/baselines/reference/user/fp-ts.log b/tests/baselines/reference/user/fp-ts.log new file mode 100644 index 0000000000000..87ee1ad7332dd --- /dev/null +++ b/tests/baselines/reference/user/fp-ts.log @@ -0,0 +1,26 @@ +Exit Code: 1 +Standard output: +src/Task.ts(47,68): error TS2345: Argument of type 'awaited A' is not assignable to parameter of type 'A'. + 'A' could be instantiated with an arbitrary type which could be unrelated to 'awaited A'. +src/Task.ts(121,35): error TS2345: Argument of type '(a: A) => B' is not assignable to parameter of type '(value: awaited A) => B | PromiseLike<B>'. + Types of parameters 'a' and 'value' are incompatible. + Type 'awaited A' is not assignable to type 'A'. + 'A' could be instantiated with an arbitrary type which could be unrelated to 'awaited A'. +src/Task.ts(123,72): error TS2345: Argument of type 'awaited A' is not assignable to parameter of type 'A'. + 'A' could be instantiated with an arbitrary type which could be unrelated to 'awaited A'. +src/Task.ts(124,44): error TS2345: Argument of type 'awaited A' is not assignable to parameter of type 'A'. + 'A' could be instantiated with an arbitrary type which could be unrelated to 'awaited A'. +src/Task.ts(136,59): error TS2345: Argument of type 'awaited A' is not assignable to parameter of type 'A'. + 'A' could be instantiated with an arbitrary type which could be unrelated to 'awaited A'. +src/TaskEither.ts(160,16): error TS2322: Type 'Promise<Left<never> | Left<E> | Right<A> | Right<awaited A>>' is not assignable to type 'Promise<Either<E, A>>'. + Types of property 'then' are incompatible. + Type '<TResult1 = Left<never> | Left<E> | Right<A> | Right<awaited A>, TResult2 = never>(onfulfilled?: ((value: Left<never> | Left<E> | Right<A> | Right<awaited A>) => TResult1 | PromiseLike<...>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | ... 1 more ... | undefined) => Promise<...>' is not assignable to type '<TResult1 = Either<E, A>, TResult2 = never>(onfulfilled?: ((value: Either<E, A>) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | ... 1 more ... | undefined) => Promise<...>'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type 'Left<never> | Left<E> | Right<A> | Right<awaited A>' is not assignable to type 'Either<E, A>'. + Type 'Right<awaited A>' is not assignable to type 'Either<E, A>'. + Type 'Right<awaited A>' is not assignable to type 'Right<A>'. + + + +Standard error: diff --git a/tests/baselines/reference/user/puppeteer.log b/tests/baselines/reference/user/puppeteer.log index bc93c4c29f592..41c770991f22d 100644 --- a/tests/baselines/reference/user/puppeteer.log +++ b/tests/baselines/reference/user/puppeteer.log @@ -14,7 +14,11 @@ lib/Accessibility.js(403,7): error TS2322: Type 'string | number | true' is not lib/Accessibility.js(409,22): error TS2503: Cannot find namespace 'Protocol'. lib/Browser.js(109,15): error TS2503: Cannot find namespace 'Protocol'. lib/Browser.js(116,58): error TS2322: Type 'Promise<CDPSession>' is not assignable to type 'Promise<Puppeteer.CDPSession>'. - Type 'CDPSession' is not assignable to type 'Puppeteer.CDPSession'. + Types of property 'then' are incompatible. + Type '<TResult1 = CDPSession, TResult2 = never>(onfulfilled?: (value: CDPSession) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = Puppeteer.CDPSession, TResult2 = never>(onfulfilled?: (value: Puppeteer.CDPSession) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type 'CDPSession' is not assignable to type 'Puppeteer.CDPSession'. lib/Browser.js(141,15): error TS2503: Cannot find namespace 'Protocol'. lib/Connection.js(149,14): error TS2503: Cannot find namespace 'Protocol'. lib/Coverage.js(115,15): error TS2503: Cannot find namespace 'Protocol'. @@ -74,8 +78,12 @@ lib/Page.js(1352,15): error TS2503: Cannot find namespace 'Protocol'. lib/PipeTransport.js(19,17): error TS1003: Identifier expected. lib/Target.js(23,15): error TS2503: Cannot find namespace 'Protocol'. lib/Target.js(87,7): error TS2322: Type 'Promise<Worker | Worker>' is not assignable to type 'Promise<Worker>'. - Type 'Worker | Worker' is not assignable to type 'Worker'. - Type 'Worker' is not assignable to type 'Worker'. Two different types with this name exist, but they are unrelated. + Types of property 'then' are incompatible. + Type '<TResult1 = Worker | Worker, TResult2 = never>(onfulfilled?: (value: Worker | Worker) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<...>) => Promise<...>' is not assignable to type '<TResult1 = Worker, TResult2 = never>(onfulfilled?: (value: Worker) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<...>'. + Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. + Types of parameters 'value' and 'value' are incompatible. + Type 'Worker | Worker' is not assignable to type 'Worker'. + Type 'Worker' is not assignable to type 'Worker'. Two different types with this name exist, but they are unrelated. lib/Target.js(135,15): error TS2503: Cannot find namespace 'Protocol'. lib/WebSocketTransport.js(19,17): error TS1003: Identifier expected. lib/WebSocketTransport.js(32,72): error TS2345: Argument of type 'import("/puppeteer/puppeteer/node_modules/@types/ws/index")' is not assignable to parameter of type 'WebSocket'. diff --git a/tests/baselines/reference/user/soap.log b/tests/baselines/reference/user/soap.log new file mode 100644 index 0000000000000..f85738f38a82b --- /dev/null +++ b/tests/baselines/reference/user/soap.log @@ -0,0 +1,13 @@ +Exit Code: 1 +Standard output: +node_modules/@types/bluebird/index.d.ts(61,3): error TS2416: Property 'then' in type 'Bluebird<R>' is not assignable to the same property in base type 'PromiseLike<R>'. + Type '{ <U>(onFulfill?: ((value: R) => Resolvable<U>) | undefined, onReject?: ((error: any) => Resolvable<U>) | undefined): Bluebird<U>; <TResult1 = R, TResult2 = never>(onfulfilled?: ((value: R) => Resolvable<...>) | ... 1 more ... | undefined, onrejected?: ((reason: any) => Resolvable<...>) | ... 1 more ... | undefined)...' is not assignable to type '<TResult1 = R, TResult2 = never>(onfulfilled?: ((value: awaited R) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined) => PromiseLike<...>'. + Types of parameters 'onFulfill' and 'onfulfilled' are incompatible. + Type '((value: awaited R) => any) | null | undefined' is not assignable to type '((value: R) => any) | undefined'. + Type 'null' is not assignable to type '((value: R) => any) | undefined'. +node_modules/@types/bluebird/index.d.ts(62,3): error TS2416: Property 'then' in type 'Bluebird<R>' is not assignable to the same property in base type 'PromiseLike<R>'. + Type '{ <U>(onFulfill?: ((value: R) => Resolvable<U>) | undefined, onReject?: ((error: any) => Resolvable<U>) | undefined): Bluebird<U>; <TResult1 = R, TResult2 = never>(onfulfilled?: ((value: R) => Resolvable<...>) | ... 1 more ... | undefined, onrejected?: ((reason: any) => Resolvable<...>) | ... 1 more ... | undefined)...' is not assignable to type '<TResult1 = R, TResult2 = never>(onfulfilled?: ((value: awaited R) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined) => PromiseLike<...>'. + + + +Standard error: diff --git a/tests/baselines/reference/user/ts-toolbelt.log b/tests/baselines/reference/user/ts-toolbelt.log new file mode 100644 index 0000000000000..87ba2730a342e --- /dev/null +++ b/tests/baselines/reference/user/ts-toolbelt.log @@ -0,0 +1,9 @@ +Exit Code: 1 +Standard output: +../../../../node_modules/@types/jquery/misc.d.ts(1205,15): error TS2430: Interface 'PromiseBase<TR, TJ, TN, UR, UJ, UN, VR, VJ, VN, SR, SJ, SN>' incorrectly extends interface '_Promise<TR>'. + Types of property 'then' are incompatible. + Type '{ <ARD = never, AJD = never, AND = never, BRD = never, BJD = never, BND = never, CRD = never, CJD = never, CND = never, RRD = never, RJD = never, RND = never, ARF = never, AJF = never, ANF = never, BRF = never, BJF = never, BNF = never, CRF = never, CJF = never, CNF = never, RRF = never, RJF = never, RNF = never, AR...' is not assignable to type '<TResult1 = TR, TResult2 = never>(onfulfilled?: ((value: TR) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined) => _Promise<...>'. + + + +Standard error: diff --git a/tests/baselines/reference/user/webpack.log b/tests/baselines/reference/user/webpack.log index 1adf1ac4a3419..224a05ae6bed3 100644 --- a/tests/baselines/reference/user/webpack.log +++ b/tests/baselines/reference/user/webpack.log @@ -4,6 +4,11 @@ lib/ExternalModule.js(305,28): error TS2554: Expected 1 arguments, but got 0. lib/Stats.js(68,31): error TS2554: Expected 3 arguments, but got 2. lib/library/SystemLibraryPlugin.js(127,35): error TS2554: Expected 1 arguments, but got 0. lib/optimize/ConcatenatedModule.js(205,32): error TS2554: Expected 1 arguments, but got 0. +lib/wasm-async/AsyncWebAssemblyModulesPlugin.js(36,15): error TS2304: Cannot find name 'Chunk'. +lib/wasm-async/AsyncWebAssemblyModulesPlugin.js(37,15): error TS2304: Cannot find name 'DependencyTemplates'. +lib/wasm-async/AsyncWebAssemblyModulesPlugin.js(38,15): error TS2304: Cannot find name 'RuntimeTemplate'. +lib/wasm-async/AsyncWebAssemblyModulesPlugin.js(39,15): error TS2304: Cannot find name 'ModuleGraph'. +lib/wasm-async/AsyncWebAssemblyModulesPlugin.js(40,15): error TS2304: Cannot find name 'ChunkGraph'. tooling/format-file-header.js(151,34): error TS2556: Expected 1-2 arguments, but got 0 or more.