-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(compiler): ensures transformed paths are relative paths for dist-collection
(v3)
#4553
Merged
tanner-reits
merged 2 commits into
v3-maintenance
from
treits/v3-relative-transformed-path-in-dist-collection
Jul 18, 2023
Merged
fix(compiler): ensures transformed paths are relative paths for dist-collection
(v3)
#4553
tanner-reits
merged 2 commits into
v3-maintenance
from
treits/v3-relative-transformed-path-in-dist-collection
Jul 18, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Path | Location | Error | Message |
---|---|---|---|
src/cli/run.ts | (49, 55) | TS2322 | Type 'string | null | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/cli/run.ts | (141, 63) | TS2345 | Argument of type 'CompilerSystem | undefined' is not assignable to parameter of type 'CompilerSystem'. Type 'undefined' is not assignable to type 'CompilerSystem'. |
src/cli/run.ts | (153, 47) | TS2345 | Argument of type 'CompilerSystem | undefined' is not assignable to parameter of type 'CompilerSystem'. Type 'undefined' is not assignable to type 'CompilerSystem'. |
src/cli/run.ts | (168, 63) | TS2345 | Argument of type 'CompilerSystem | undefined' is not assignable to parameter of type 'CompilerSystem'. Type 'undefined' is not assignable to type 'CompilerSystem'. |
src/cli/task-test.ts | (44, 29) | TS18048 | 'config.sys.lazyRequire' is possibly 'undefined'. |
src/cli/telemetry/telemetry.ts | (103, 10) | TS2722 | Cannot invoke an object which is possibly 'undefined'. |
src/cli/telemetry/telemetry.ts | (353, 23) | TS2722 | Cannot invoke an object which is possibly 'undefined'. |
src/cli/telemetry/telemetry.ts | (353, 23) | TS18048 | 'sys.parseYarnLockFile' is possibly 'undefined'. |
src/cli/telemetry/telemetry.ts | (432, 28) | TS2722 | Cannot invoke an object which is possibly 'undefined'. |
src/cli/telemetry/telemetry.ts | (432, 28) | TS18048 | 'sys.fetch' is possibly 'undefined'. |
src/cli/test/task-generate.spec.ts | (77, 5) | TS2322 | Type 'undefined' is not assignable to type 'string'. |
src/client/client-patch-browser.ts | (52, 43) | TS18049 | 'scriptElm' is possibly 'null' or 'undefined'. |
src/client/client-patch-browser.ts | (75, 15) | TS18049 | 'scriptElm' is possibly 'null' or 'undefined'. |
src/client/client-patch-browser.ts | (75, 63) | TS18049 | 'scriptElm' is possibly 'null' or 'undefined'. |
src/client/client-patch-browser.ts | (79, 45) | TS2345 | Argument of type 'HTMLScriptElement | null | undefined' is not assignable to parameter of type 'HTMLScriptElement'. Type 'undefined' is not assignable to type 'HTMLScriptElement'. |
src/client/client-window.ts | (43, 5) | TS2769 | No overload matches this call. Overload 1 of 2, '(type: keyof DocumentEventMap, listener: (this: Document, ev: PointerEvent | MouseEvent | UIEvent | Event | ErrorEvent | ... 13 more ... | WheelEvent) => any, options?: boolean | ... 1 more ... | undefined): void', gave the following error. Argument of type '"e"' is not assignable to parameter of type 'keyof DocumentEventMap'. Overload 2 of 2, '(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void', gave the following error. Argument of type 'null' is not assignable to parameter of type 'EventListenerOrEventListenerObject'. |
src/client/polyfills/css-shim/css-parser.ts | (61, 24) | TS2531 | Object is possibly 'null'. |
src/client/polyfills/css-shim/css-parser.ts | (61, 35) | TS2531 | Object is possibly 'null'. |
src/client/polyfills/css-shim/css-parser.ts | (66, 7) | TS2531 | Object is possibly 'null'. |
src/client/polyfills/css-shim/scope.ts | (23, 24) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/scope.ts | (34, 7) | TS18048 | 'scope.styleEl' is possibly 'undefined'. |
src/client/polyfills/css-shim/scope.ts | (41, 64) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/client/polyfills/css-shim/scope.ts | (47, 44) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/client/polyfills/css-shim/selectors.ts | (130, 5) | TS2322 | Type 'HTMLElement | null' is not assignable to type 'HTMLElement'. Type 'null' is not assignable to type 'HTMLElement'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (21, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (22, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (23, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (29, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (30, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (31, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (37, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (38, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (39, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (45, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (46, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (52, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/compiler.spec.ts | (53, 14) | TS18047 | 'var1' is possibly 'null'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (29, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (55, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (78, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (102, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (123, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (146, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (170, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (190, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (211, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (235, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (258, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (281, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (307, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (334, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/test/css-shim.spec.ts | (365, 16) | TS2345 | Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. |
src/client/polyfills/css-shim/utils.ts | (8, 28) | TS2532 | Object is possibly 'undefined'. |
src/compiler/app-core/app-data.ts | (153, 25) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/app-core/app-data.ts | (154, 63) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/app-core/app-data.ts | (156, 16) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/app-core/app-data.ts | (157, 34) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/app-core/app-data.ts | (158, 22) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/app-core/app-data.ts | (160, 21) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/app-core/app-polyfills.ts | (23, 7) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/build/build-stats.ts | (177, 38) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/build/build-stats.ts | (178, 15) | TS18048 | 'c.moduleFiles' is possibly 'undefined'. |
src/compiler/build/build-stats.ts | (182, 11) | TS18048 | 'a.name' is possibly 'undefined'. |
src/compiler/build/build-stats.ts | (182, 20) | TS18048 | 'b.name' is possibly 'undefined'. |
src/compiler/build/build-stats.ts | (183, 11) | TS18048 | 'a.name' is possibly 'undefined'. |
src/compiler/build/build-stats.ts | (183, 20) | TS18048 | 'b.name' is possibly 'undefined'. |
src/compiler/build/build-stats.ts | (189, 10) | TS18048 | 'config.sys' is possibly 'undefined'. |
src/compiler/build/build-stats.ts | (189, 35) | TS18048 | 'config.sys' is possibly 'undefined'. |
src/compiler/build/build-stats.ts | (189, 68) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/bundle/app-data-plugin.ts | (108, 64) | TS2345 | Argument of type 'Diagnostic[] | undefined' is not assignable to parameter of type 'readonly Diagnostic[]'. Type 'undefined' is not assignable to type 'readonly Diagnostic[]'. |
src/compiler/bundle/bundle-output.ts | (74, 30) | TS2322 | Type '(this: PluginContext, importee: string, importer: string) => Promise' is not assignable to type 'ResolveIdHook'. Types of parameters 'importer' and 'importer' are incompatible. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/bundle/bundle-output.ts | (76, 28) | TS2684 | The 'this' context of type 'ResolveIdHook | undefined' is not assignable to method's 'this' of type 'Function'. Type 'undefined' is not assignable to type 'Function'. |
src/compiler/bundle/bundle-output.ts | (76, 28) | TS18048 | 'orgNodeResolveId' is possibly 'undefined'. |
src/compiler/bundle/bundle-output.ts | (89, 5) | TS2322 | Type '(this: PluginContext, importee: string, importer: string) => Promise' is not assignable to type 'ResolveIdHook'. Types of parameters 'importer' and 'importer' are incompatible. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/bundle/bundle-output.ts | (95, 25) | TS18048 | 'config.rollupPlugins' is possibly 'undefined'. |
src/compiler/bundle/bundle-output.ts | (96, 24) | TS18048 | 'config.rollupPlugins' is possibly 'undefined'. |
src/compiler/bundle/bundle-output.ts | (104, 67) | TS2345 | Argument of type 'boolean | undefined' is not assignable to parameter of type 'boolean'. |
src/compiler/bundle/bundle-output.ts | (105, 52) | TS2345 | Argument of type 'BuildConditionals | undefined' is not assignable to parameter of type 'BuildConditionals'. Type 'undefined' is not assignable to type 'BuildConditionals'. |
src/compiler/bundle/bundle-output.ts | (154, 24) | TS18048 | 'config.rollupConfig.inputOptions' is possibly 'undefined'. |
src/compiler/bundle/core-resolve-plugin.ts | (25, 23) | TS18048 | 'config.sys' is possibly 'undefined'. |
src/compiler/bundle/core-resolve-plugin.ts | (107, 13) | TS2322 | Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/bundle/core-resolve-plugin.ts | (107, 43) | TS2345 | Argument of type 'CompilerSystem | undefined' is not assignable to parameter of type 'CompilerSystem'. Type 'undefined' is not assignable to type 'CompilerSystem'. |
src/compiler/bundle/core-resolve-plugin.ts | (136, 11) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/bundle/core-resolve-plugin.ts | (147, 7) | TS18048 | 'config.sys' is possibly 'undefined'. |
src/compiler/bundle/core-resolve-plugin.ts | (148, 9) | TS2322 | Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/cache.ts | (13, 5) | TS2322 | Type 'CompilerSystem | undefined' is not assignable to type 'CompilerSystem'. Type 'undefined' is not assignable to type 'CompilerSystem'. |
src/compiler/cache.ts | (14, 5) | TS2322 | Type 'Logger | undefined' is not assignable to type 'Logger'. Type 'undefined' is not assignable to type 'Logger'. |
src/compiler/cache.ts | (23, 7) | TS2532 | Object is possibly 'undefined'. |
src/compiler/cache.ts | (28, 5) | TS2532 | Object is possibly 'undefined'. |
src/compiler/cache.ts | (39, 9) | TS2416 | Property 'get' in type 'Cache' is not assignable to the same property in base type 'Cache'. Type '(key: string) => Promise<string | null>' is not assignable to type '(key: string) => Promise'. Type 'Promise<string | null>' is not assignable to type 'Promise'. Type 'string | null' is not assignable to type 'string'. Type 'null' is not assignable to type 'string'. |
src/compiler/cache.ts | (59, 7) | TS2322 | Type 'null' is not assignable to type 'string'. |
src/compiler/cache.ts | (92, 24) | TS2532 | Object is possibly 'undefined'. |
src/compiler/cache.ts | (92, 24) | TS2722 | Cannot invoke an object which is possibly 'undefined'. |
src/compiler/cache.ts | (126, 48) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/cache.ts | (127, 63) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/cache.ts | (135, 28) | TS18048 | 'lastModified' is possibly 'undefined'. |
src/compiler/cache.ts | (153, 51) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/cache.ts | (155, 35) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/cache.ts | (162, 17) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/cache.ts | (165, 3) | TS2416 | Property 'getMemoryStats' in type 'Cache' is not assignable to the same property in base type 'Cache'. Type '() => string | null' is not assignable to type '() => string'. Type 'string | null' is not assignable to type 'string'. Type 'null' is not assignable to type 'string'. |
src/compiler/compiler.ts | (38, 3) | TS2322 | Type 'import("/home/runner/work/stencil/stencil/src/compiler/cache").Cache' is not assignable to type 'import("/home/runner/work/stencil/stencil/src/declarations/stencil-private").Cache'. The types returned by 'get(...)' are incompatible between these types. Type 'Promise<string | null>' is not assignable to type 'Promise'. |
src/compiler/config/outputs/validate-dist.ts | (160, 3) | TS2322 | Type '{ dir: string; buildDir: string; collectionDir: string | null; typesDir: string; esmLoaderPath: string; copy: d.CopyTask[]; polyfills: boolean | undefined; empty: boolean; transformAliasedImportPathsInCollection: boolean; isPrimaryPackageOutputTarget: boolean; type: "dist"; }' is not assignable to type 'Required'. Types of property 'polyfills' are incompatible. Type 'boolean | undefined' is not assignable to type 'boolean'. |
src/compiler/config/test/validate-config.spec.ts | (396, 12) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/config/test/validate-config.spec.ts | (397, 12) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/config/test/validate-config.spec.ts | (399, 12) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/config/test/validate-config.spec.ts | (400, 12) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/config/test/validate-config.spec.ts | (401, 12) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/config/test/validate-config.spec.ts | (402, 12) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/config/transpile-options.ts | (32, 5) | TS2322 | Type 'null' is not assignable to type 'string'. |
src/compiler/config/transpile-options.ts | (41, 29) | TS2352 | Conversion of type 'null' to type 'CompilerSystem' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. |
src/compiler/config/transpile-options.ts | (72, 71) | TS2345 | Argument of type 'Set<string | null>' is not assignable to parameter of type 'Set'. Type 'string | null' is not assignable to type 'string'. Type 'null' is not assignable to type 'string'. |
src/compiler/config/transpile-options.ts | (78, 47) | TS2345 | Argument of type 'Set<string | null>' is not assignable to parameter of type 'Set'. |
src/compiler/config/transpile-options.ts | (126, 5) | TS2322 | Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/config/transpile-options.ts | (129, 5) | TS2322 | Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/docs/generate-doc-data.ts | (65, 30) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/docs/generate-doc-data.ts | (84, 3) | TS2322 | Type '{ dirPath: string; filePath: string; fileName: string; readmePath: string; usagesDir: string; tag: string; readme: string | undefined; overview: string; usage: JsonDocsUsage; ... 13 more ...; listeners: JsonDocsListener[]; }[]' is not assignable to type 'JsonDocsComponent[]'. Type '{ dirPath: string; filePath: string; fileName: string; readmePath: string; usagesDir: string; tag: string; readme: string | undefined; overview: string; usage: d.JsonDocsUsage; docs: string; ... 12 more ...; listeners: d.JsonDocsListener[]; }' is not assignable to type 'JsonDocsComponent'. Types of property 'readme' are incompatible. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/docs/generate-doc-data.ts | (95, 20) | TS18048 | 'cmp' is possibly 'undefined'. |
src/compiler/docs/generate-doc-data.ts | (96, 11) | TS18048 | 'deps' is possibly 'undefined'. |
src/compiler/docs/generate-doc-data.ts | (97, 9) | TS2322 | Type 'string[] | undefined' is not assignable to type 'string[]'. Type 'undefined' is not assignable to type 'string[]'. |
src/compiler/docs/generate-doc-data.ts | (98, 9) | TS18048 | 'deps' is possibly 'undefined'. |
src/compiler/docs/generate-doc-data.ts | (105, 3) | TS18048 | 'cmp.directDependents' is possibly 'undefined'. |
src/compiler/docs/generate-doc-data.ts | (148, 3) | TS2322 | Type '{ name: string; type: string; mutable: boolean; attr: string | undefined; reflectToAttr: boolean; docs: string; docsTags: CompilerJsDocTagInfo[]; default: string | undefined; deprecation: string | undefined; values: JsonDocsValue[]; optional: boolean; required: boolean; }[]' is not assignable to type 'JsonDocsProp[]'. Type '{ name: string; type: string; mutable: boolean; attr: string | undefined; reflectToAttr: boolean; docs: string; docsTags: d.CompilerJsDocTagInfo[]; default: string | undefined; deprecation: string | undefined; values: d.JsonDocsValue[]; optional: boolean; required: boolean; }' is not assignable to type 'JsonDocsProp'. Types of property 'default' are incompatible. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/docs/generate-doc-data.ts | (173, 3) | TS2322 | Type '{ name: string; type: string; mutable: false; attr: string; reflectToAttr: false; docs: string; docsTags: never[]; default: undefined; deprecation: undefined; values: JsonDocsValue[]; optional: true; required: false; }[]' is not assignable to type 'JsonDocsProp[]'. Type '{ name: string; type: string; mutable: false; attr: string; reflectToAttr: false; docs: string; docsTags: never[]; default: undefined; deprecation: undefined; values: d.JsonDocsValue[]; optional: true; required: false; }' is not assignable to type 'JsonDocsProp'. Types of property 'default' are incompatible. Type 'undefined' is not assignable to type 'string'. |
src/compiler/optimize/optimize-module.ts | (102, 25) | TS18048 | 'compilerCtx.worker' is possibly 'undefined'. |
src/compiler/optimize/optimize-module.ts | (102, 64) | TS2454 | Variable 'minifyOpts' is used before being assigned. |
src/compiler/optimize/optimize-module.ts | (102, 93) | TS2345 | Argument of type 'boolean | undefined' is not assignable to parameter of type 'boolean'. Type 'undefined' is not assignable to type 'boolean'. |
src/compiler/optimize/optimize-module.ts | (132, 17) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/optimize/optimize-module.ts | (138, 17) | TS18048 | 'opts.format' is possibly 'undefined'. |
src/compiler/optimize/optimize-module.ts | (153, 17) | TS18048 | 'opts.format' is possibly 'undefined'. |
src/compiler/optimize/optimize-module.ts | (169, 5) | TS18048 | 'opts.format' is possibly 'undefined'. |
src/compiler/optimize/optimize-module.ts | (170, 5) | TS18048 | 'opts.format' is possibly 'undefined'. |
src/compiler/optimize/optimize-module.ts | (194, 5) | TS2322 | Type 'null' is not assignable to type 'SourceMap | undefined'. |
src/compiler/output-targets/dist-lazy/generate-esm-browser.ts | (28, 9) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/output-targets/dist-lazy/generate-esm-browser.ts | (30, 64) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/output-targets/dist-lazy/generate-esm-browser.ts | (41, 9) | TS2345 | Argument of type '(string | undefined)[]' is not assignable to parameter of type 'string[]'. |
src/compiler/output-targets/dist-lazy/lazy-build-conditionals.ts | (15, 22) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/output-targets/dist-lazy/lazy-build-conditionals.ts | (16, 28) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/output-targets/dist-lazy/lazy-build-conditionals.ts | (19, 30) | TS18048 | 'config.extras' is possibly 'undefined'. |
src/compiler/output-targets/dist-lazy/lazy-output.ts | (50, 9) | TS2464 | A computed property name must be of type 'string', 'number', 'symbol', or 'any'. |
src/compiler/prerender/prerender-hydrate-options.ts | (26, 7) | TS2322 | Type 'string | null' is not assignable to type 'string | undefined'. Type 'null' is not assignable to type 'string | undefined'. |
src/compiler/sys/stencil-sys.ts | (57, 20) | TS2774 | This condition will always return true since this function is always defined. Did you mean to call it instead? |
src/compiler/sys/stencil-sys.ts | (88, 25) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/sys/stencil-sys.ts | (109, 31) | TS2345 | Argument of type 'CompilerSystemCreateDirectoryOptions | undefined' is not assignable to parameter of type 'CompilerSystemCreateDirectoryOptions'. Type 'undefined' is not assignable to type 'CompilerSystemCreateDirectoryOptions'. |
src/compiler/sys/stencil-sys.ts | (131, 9) | TS2322 | Type 'null' is not assignable to type 'CompilerFileWatcherCallback[]'. |
src/compiler/sys/stencil-sys.ts | (132, 9) | TS2322 | Type 'undefined' is not assignable to type 'string'. |
src/compiler/sys/stencil-sys.ts | (257, 29) | TS2532 | Object is possibly 'undefined'. |
src/compiler/sys/stencil-sys.ts | (424, 9) | TS2322 | Type 'undefined' is not assignable to type 'string'. |
src/compiler/sys/stencil-sys.ts | (464, 9) | TS2322 | Type 'undefined' is not assignable to type 'string'. |
src/compiler/sys/stencil-sys.ts | (482, 28) | TS2345 | Argument of type 'null' is not assignable to parameter of type 'CompilerFileWatcherEvent'. |
src/compiler/sys/stencil-sys.ts | (512, 9) | TS2322 | Type 'null' is not assignable to type 'CompilerFileWatcherCallback[]'. |
src/compiler/sys/stencil-sys.ts | (595, 5) | TS2322 | Type '(key: string) => string | undefined' is not assignable to type '(key: string) => string'. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/sys/stencil-sys.ts | (610, 5) | TS2322 | Type '(p: string) => Promise<string | undefined>' is not assignable to type '{ (p: string): Promise; (p: string, encoding: "utf8"): Promise; (p: string, encoding: "binary"): Promise; }'. Type 'Promise<string | undefined>' is not assignable to type 'Promise'. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/sys/stencil-sys.ts | (611, 5) | TS2322 | Type '(p: string) => string | undefined' is not assignable to type '(p: string, encoding?: string | undefined) => string'. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/sys/stencil-sys.ts | (631, 5) | TS2322 | Type '((maxConcurrentWorkers: number) => WorkerMainController) | null' is not assignable to type '((maxConcurrentWorkers: number) => WorkerMainController) | undefined'. Type 'null' is not assignable to type '((maxConcurrentWorkers: number) => WorkerMainController) | undefined'. |
src/compiler/sys/stencil-sys.ts | (644, 61) | TS2345 | Argument of type 'null' is not assignable to parameter of type '{ access: (filePath: string) => Promise; accessSync: (filePath: string) => boolean; cancelDeleteDirectoriesFromDisk: (dirPaths: string[]) => void; cancelDeleteFilesFromDisk: (filePaths: string[]) => void; ... 17 more ...; writeFiles: (files: { ...; } | Map<...>, opts?: FsWriteOptions | undefined) => Promise...'. |
src/compiler/sys/worker/web-worker-thread.ts | (51, 11) | TS2322 | Type 'null' is not assignable to type 'string'. |
src/compiler/transformers/component-lazy/lazy-constructor.ts | (23, 41) | TS2345 | Argument of type 'Block | undefined' is not assignable to parameter of type 'Block'. Type 'undefined' is not assignable to type 'Block'. |
src/compiler/transformers/component-lazy/lazy-constructor.ts | (26, 10) | TS18048 | 'cstrMethod.body' is possibly 'undefined'. |
src/compiler/transformers/component-native/native-constructor.ts | (55, 30) | TS2345 | Argument of type 'Block | undefined' is not assignable to parameter of type 'Block'. Type 'undefined' is not assignable to type 'Block'. |
src/compiler/transformers/core-runtime-apis.ts | (64, 8) | TS2532 | Object is possibly 'undefined'. |
src/compiler/transformers/core-runtime-apis.ts | (66, 5) | TS2532 | Object is possibly 'undefined'. |
src/compiler/transformers/decorators-to-static/convert-decorators.ts | (315, 13) | TS2322 | Type 'DeclarationName | undefined' is not assignable to type 'DeclarationName'. Type 'undefined' is not assignable to type 'DeclarationName'. |
src/compiler/transformers/decorators-to-static/event-decorator.ts | (70, 40) | TS2345 | Argument of type 'Symbol | undefined' is not assignable to parameter of type 'Symbol'. Type 'undefined' is not assignable to type 'Symbol'. |
src/compiler/transformers/decorators-to-static/event-decorator.ts | (73, 69) | TS2345 | Argument of type 'TypeNode | undefined' is not assignable to parameter of type 'Node'. Type 'undefined' is not assignable to type 'Node'. |
src/compiler/transformers/decorators-to-static/method-decorator.ts | (35, 92) | TS2345 | Argument of type '(PropertyAssignment | null)[]' is not assignable to parameter of type 'readonly ObjectLiteralElementLike[]'. Type 'PropertyAssignment | null' is not assignable to type 'ObjectLiteralElementLike'. Type 'null' is not assignable to type 'ObjectLiteralElementLike'. |
src/compiler/transformers/decorators-to-static/method-decorator.ts | (54, 59) | TS2345 | Argument of type 'Signature | undefined' is not assignable to parameter of type 'Signature'. Type 'undefined' is not assignable to type 'Signature'. |
src/compiler/transformers/decorators-to-static/method-decorator.ts | (61, 55) | TS2345 | Argument of type 'Signature | undefined' is not assignable to parameter of type 'Signature'. Type 'undefined' is not assignable to type 'Signature'. |
src/compiler/transformers/decorators-to-static/method-decorator.ts | (93, 19) | TS18048 | 'signature' is possibly 'undefined'. |
src/compiler/transformers/decorators-to-static/method-decorator.ts | (95, 33) | TS2345 | Argument of type 'TypeNode | undefined' is not assignable to parameter of type 'Node'. Type 'undefined' is not assignable to type 'Node'. |
src/compiler/transformers/decorators-to-static/method-decorator.ts | (101, 37) | TS18048 | 'signature' is possibly 'undefined'. |
src/compiler/transformers/decorators-to-static/method-decorator.ts | (102, 29) | TS18048 | 'signature' is possibly 'undefined'. |
src/compiler/transformers/decorators-to-static/prop-decorator.ts | (99, 40) | TS2345 | Argument of type 'Symbol | undefined' is not assignable to parameter of type 'Symbol'. Type 'undefined' is not assignable to type 'Symbol'. |
src/compiler/transformers/decorators-to-static/prop-decorator.ts | (101, 68) | TS2345 | Argument of type 'TypeNode | undefined' is not assignable to parameter of type 'Node'. Type 'undefined' is not assignable to type 'Node'. |
src/compiler/transformers/static-to-meta/component.ts | (76, 5) | TS2322 | Type 'boolean | undefined' is not assignable to type 'boolean'. |
src/compiler/transformers/static-to-meta/component.ts | (181, 67) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/transformers/static-to-meta/component.ts | (183, 5) | TS2322 | Type 'undefined' is not assignable to type 'ComponentCompilerVirtualProperty'. |
src/compiler/transformers/test/transpile.ts | (146, 5) | TS2454 | Variable 'declarationOutputText' is used before being assigned. |
src/compiler/transformers/test/transpile.ts | (158, 5) | TS2454 | Variable 'outputText' is used before being assigned. |
src/compiler/transformers/transform-utils.ts | (42, 3) | TS2322 | Type 'null' is not assignable to type 'WeakSet'. |
src/compiler/transformers/transform-utils.ts | (282, 44) | TS2345 | Argument of type 'PropertyName | undefined' is not assignable to parameter of type 'PropertyName'. Type 'undefined' is not assignable to type 'PropertyName'. |
src/compiler/transformers/transform-utils.ts | (335, 11) | TS2538 | Type 'undefined' cannot be used as an index type. |
src/compiler/transformers/transform-utils.ts | (429, 5) | TS2322 | Type 'Node | readonly Node[] | undefined' is not assignable to type 'VisitResult'. Type 'undefined' is not assignable to type 'VisitResult'. |
src/compiler/transformers/transform-utils.ts | (514, 25) | TS2345 | Argument of type 'NamedExportBindings | undefined' is not assignable to parameter of type 'Node'. Type 'undefined' is not assignable to type 'Node'. |
src/compiler/transformers/transform-utils.ts | (747, 58) | TS2345 | Argument of type 'Declaration | undefined' is not assignable to parameter of type 'Node'. Type 'undefined' is not assignable to type 'Node'. |
src/compiler/transpile/transpile-module.ts | (52, 5) | TS2322 | Type 'null' is not assignable to type 'string'. |
src/compiler/transpile/transpile-module.ts | (55, 5) | TS2322 | Type 'null' is not assignable to type 'Module'. |
src/compiler/transpile/transpile-module.ts | (83, 65) | TS2345 | Argument of type 'ScriptTarget | undefined' is not assignable to parameter of type 'ScriptTarget | CreateSourceFileOptions'. Type 'undefined' is not assignable to type 'ScriptTarget | CreateSourceFileOptions'. |
src/compiler/transpile/transpile-module.ts | (88, 56) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/transpile/transpile-module.ts | (104, 73) | TS2345 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. |
src/compiler/transpile/transpile-module.ts | (118, 77) | TS2345 | Argument of type 'null' is not assignable to parameter of type 'CollectionCompilerMeta'. |
src/compiler/transpile/transpile-module.ts | (123, 5) | TS18048 | 'transformers.before' is possibly 'undefined'. |
src/compiler/transpile/transpile-module.ts | (136, 5) | TS18048 | 'transformers.afterDeclarations' is possibly 'undefined'. |
src/compiler/transpile/transpile-module.ts | (140, 5) | TS18048 | 'transformers.after' is possibly 'undefined'. |
src/compiler/transpile/transpile-module.ts | (142, 5) | TS18048 | 'transformers.after' is possibly 'undefined'. |
src/compiler/transpile/transpile-module.ts | (150, 24) | TS2345 | Argument of type 'Diagnostic' is not assignable to parameter of type 'DiagnosticWithLocation'. Types of property 'file' are incompatible. Type 'SourceFile | undefined' is not assignable to type 'SourceFile'. Type 'undefined' is not assignable to type 'SourceFile'. |
src/compiler/transpile/transpile-module.ts | (157, 3) | TS2322 | Type 'Module | undefined' is not assignable to type 'Module'. Type 'undefined' is not assignable to type 'Module'. |
src/compiler/transpile/transpile-module.ts | (164, 41) | TS2538 | Type 'undefined' cannot be used as an index type. |
src/compiler/transpile/transpile-module.ts | (165, 37) | TS2538 | Type 'undefined' cannot be used as an index type. |
src/compiler/types/tests/ComponentCompilerEvent.stub.ts | (30, 5) | TS2322 | Type 'undefined' is not assignable to type 'CompilerJsDoc'. |
src/compiler/types/tests/ComponentCompilerProperty.stub.ts | (25, 5) | TS2322 | Type 'undefined' is not assignable to type 'CompilerJsDoc'. |
src/hydrate/platform/index.ts | (146, 39) | TS2345 | Argument of type 'ComponentRuntimeHostListener[] | undefined' is not assignable to parameter of type 'ComponentRuntimeHostListener[]'. Type 'undefined' is not assignable to type 'ComponentRuntimeHostListener[]'. |
src/mock-doc/parse-util.ts | (170, 13) | TS2322 | Type '{ name: string; value: string; namespace: string | null; prefix: null; }[]' is not assignable to type 'Attribute[]'. Type '{ name: string; value: string; namespace: string | null; prefix: null; }' is not assignable to type 'Attribute'. Types of property 'namespace' are incompatible. Type 'string | null' is not assignable to type 'string | undefined'. |
src/mock-doc/window.ts | (818, 30) | TS2322 | Type 'null' is not assignable to type 'string | boolean'. |
src/mock-doc/window.ts | (839, 43) | TS2345 | Argument of type 'null' is not assignable to parameter of type 'string | boolean | undefined'. |
src/mock-doc/window.ts | (849, 30) | TS2345 | Argument of type '(Window & typeof globalThis) | null' is not assignable to parameter of type 'Window'. Type 'null' is not assignable to type 'Window'. |
src/mock-doc/window.ts | (850, 10) | TS18047 | 'dstWin' is possibly 'null'. |
src/runtime/styles.ts | (63, 15) | TS2345 | Argument of type 'HTMLElement | undefined' is not assignable to parameter of type 'HTMLElement'. Type 'undefined' is not assignable to type 'HTMLElement'. |
src/runtime/styles.ts | (76, 15) | TS2322 | Type 'null' is not assignable to type 'Set | undefined'. |
src/runtime/update-component.ts | (295, 7) | TS2722 | Cannot invoke an object which is possibly 'undefined'. |
src/runtime/update-component.ts | (323, 5) | TS2722 | Cannot invoke an object which is possibly 'undefined'. |
src/runtime/update-component.ts | (345, 25) | TS18048 | 'hostRef' is possibly 'undefined'. |
src/runtime/update-component.ts | (348, 8) | TS18048 | 'hostRef' is possibly 'undefined'. |
src/runtime/update-component.ts | (350, 22) | TS2345 | Argument of type 'HostRef | undefined' is not assignable to parameter of type 'HostRef'. Type 'undefined' is not assignable to type 'HostRef'. |
src/sys/node/node-logger.ts | (74, 45) | TS2345 | Argument of type 'null' is not assignable to parameter of type 'number | undefined'. |
src/sys/node/node-sys.ts | (464, 31) | TS2722 | Cannot invoke an object which is possibly 'undefined'. |
src/sys/node/node-sys.ts | (464, 31) | TS18048 | 'tsSysWatchDirectory' is possibly 'undefined'. |
src/sys/node/node-sys.ts | (506, 31) | TS2722 | Cannot invoke an object which is possibly 'undefined'. |
src/sys/node/node-sys.ts | (506, 31) | TS18048 | 'tsSysWatchFile' is possibly 'undefined'. |
src/sys/node/node-sys.ts | (515, 15) | TS18048 | 'sys.events' is possibly 'undefined'. |
src/sys/node/node-sys.ts | (518, 15) | TS18048 | 'sys.events' is possibly 'undefined'. |
src/testing/jest/jest-setup-test-framework.ts | (32, 21) | TS2345 | Argument of type 'undefined' is not assignable to parameter of type 'ErrorHandler'. |
src/utils/normalize-path.ts | (164, 15) | TS2532 | Object is possibly 'undefined'. |
reports and statistics
Our most error-prone files
Path | Error Count |
---|---|
src/dev-server/index.ts | 37 |
src/mock-doc/serialize-node.ts | 36 |
src/dev-server/server-process.ts | 32 |
src/compiler/prerender/prerender-main.ts | 29 |
src/compiler/build/build-stats.ts | 27 |
src/compiler/output-targets/dist-lazy/generate-lazy-module.ts | 26 |
src/compiler/style/test/optimize-css.spec.ts | 23 |
src/runtime/vdom/vdom-render.ts | 23 |
src/testing/puppeteer/puppeteer-element.ts | 23 |
src/utils/test/message-utils.spec.ts | 21 |
src/runtime/client-hydrate.ts | 19 |
src/screenshot/connector-base.ts | 19 |
src/compiler/bundle/dev-module.ts | 17 |
src/compiler/config/test/validate-paths.spec.ts | 16 |
src/compiler/sys/fetch/tests/fetch-module.spec.ts | 16 |
src/client/polyfills/css-shim/test/css-shim.spec.ts | 15 |
src/compiler/cache.ts | 15 |
src/compiler/sys/stencil-sys.ts | 15 |
src/dev-server/request-handler.ts | 15 |
src/sys/node/node-sys.ts | 15 |
Our most common errors
Typescript Error Code | Count | Error messages |
---|---|---|
TS2345 | 516 | Error messagesArgument of type 'CompilerSystem | undefined' is not assignable to parameter of type 'CompilerSystem'.Type 'undefined' is not assignable to type 'CompilerSystem'. Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. Argument of type 'Promise<(() => void) | null>' is not assignable to parameter of type 'Promise<() => void>'. Argument of type 'null' is not assignable to parameter of type 'BuildResultsComponentGraph'. Argument of type 'Promise<(() => void) | null>' is not assignable to parameter of type 'Promise<() => void>'. Type '(() => void) | null' is not assignable to type '() => void'. Type 'null' is not assignable to type '() => void'. Argument of type 'ComponentRuntimeHostListener[] | undefined' is not assignable to parameter of type 'ComponentRuntimeHostListener[]'. Type 'undefined' is not assignable to type 'ComponentRuntimeHostListener[]'. Argument of type 'HTMLScriptElement | null | undefined' is not assignable to parameter of type 'HTMLScriptElement'. Type 'undefined' is not assignable to type 'HTMLScriptElement'. Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. Argument of type 'Logger | undefined' is not assignable to parameter of type 'Logger'. Type 'undefined' is not assignable to type 'Logger'. Argument of type 'string[] | undefined' is not assignable to parameter of type 'string[]'. Type 'undefined' is not assignable to type 'string[]'. Argument of type 'string' is not assignable to parameter of type 'never'. Argument of type 'Diagnostic[] | undefined' is not assignable to parameter of type 'readonly Diagnostic[]'. Type 'undefined' is not assignable to type 'readonly Diagnostic[]'. Argument of type 'boolean | undefined' is not assignable to parameter of type 'boolean'. Argument of type 'BuildConditionals | undefined' is not assignable to parameter of type 'BuildConditionals'. Type 'undefined' is not assignable to type 'BuildConditionals'. Argument of type '{ styleText: string; output: string; map: null; diagnostics: never[]; imports: never[]; defaultVarName: string; styleDocs: never[]; }' is not assignable to parameter of type 'never'. Argument of type 'WorkerMeta | undefined' is not assignable to parameter of type 'WorkerMeta'. Type 'undefined' is not assignable to type 'WorkerMeta'. Argument of type 'string | null | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. Argument of type 'Set<string | null>' is not assignable to parameter of type 'Set'. Type 'string | null' is not assignable to type 'string'. Type 'null' is not assignable to type 'string'. Argument of type 'Set<string | null>' is not assignable to parameter of type 'Set'. Argument of type '(string[] | undefined)[]' is not assignable to parameter of type 'string[][]'. Type 'string[] | undefined' is not assignable to type 'string[]'. Type 'undefined' is not assignable to type 'string[]'. Argument of type 'ComponentCompilerMeta | undefined' is not assignable to parameter of type 'ComponentCompilerMeta'. Type 'undefined' is not assignable to type 'ComponentCompilerMeta'. Argument of type 'true | Object | undefined' is not assignable to parameter of type 'boolean | Object | null'. Type 'undefined' is not assignable to type 'boolean | Object | null'. Argument of type 'SourceTarget | undefined' is not assignable to parameter of type 'SourceTarget'. Type 'undefined' is not assignable to type 'SourceTarget'. Argument of type 'boolean | undefined' is not assignable to parameter of type 'boolean'. Type 'undefined' is not assignable to type 'boolean'. Argument of type '(string | undefined)[]' is not assignable to parameter of type 'string[]'. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. Argument of type '(string | undefined)[]' is not assignable to parameter of type 'string[]'. Argument of type 'RollupSourceMap | undefined' is not assignable to parameter of type 'SourceMap'. Type 'undefined' is not assignable to type 'SourceMap'. Argument of type 'EntryModule | undefined' is not assignable to parameter of type 'EntryModule'. Type 'undefined' is not assignable to type 'EntryModule'. Argument of type '(Module | undefined)[]' is not assignable to parameter of type 'Module[]'. Type 'Module | undefined' is not assignable to type 'Module'. Type 'undefined' is not assignable to type 'Module'. Argument of type 'Document | null' is not assignable to parameter of type 'Document'. Type 'null' is not assignable to type 'Document'. Argument of type 'Document | null' is not assignable to parameter of type 'Node | MockNode'. Type 'null' is not assignable to type 'Node | MockNode'. Argument of type 'HydrateAnchorElement' is not assignable to parameter of type '{ [attrName: string]: string; }'. 'string' index signatures are incompatible. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. Argument of type 'URL | null' is not assignable to parameter of type 'URL'. Type 'null' is not assignable to type 'URL'. Argument of type 'number | undefined' is not assignable to parameter of type 'number'. Type 'undefined' is not assignable to type 'number'. Argument of type 'SitemapXmpResults | null' is not assignable to parameter of type 'SitemapXmpResults'. Type 'null' is not assignable to type 'SitemapXmpResults'. Argument of type 'string | undefined' is not assignable to parameter of type 'string | URL'. Argument of type 'Map<string, string[]> | undefined' is not assignable to parameter of type 'Map<string, string[]>'. Type 'undefined' is not assignable to type 'Map<string, string[]>'. Argument of type 'undefined' is not assignable to parameter of type 'string'. Argument of type 'ServiceWorkerConfig | undefined' is not assignable to parameter of type 'ServiceWorkerConfig'. Type 'undefined' is not assignable to type 'ServiceWorkerConfig'. Argument of type 'string | undefined' is not assignable to parameter of type 'string | URL'. Type 'undefined' is not assignable to type 'string | URL'. Argument of type 'CssNode[] | null | undefined' is not assignable to parameter of type 'void | CssNode[]'. Argument of type 'CssNode[] | null | undefined' is not assignable to parameter of type 'void | CssNode[]'. Type 'null' is not assignable to type 'void | CssNode[]'. Argument of type 'null' is not assignable to parameter of type 'string'. Argument of type 'CompilerSystemCreateDirectoryOptions | undefined' is not assignable to parameter of type 'CompilerSystemCreateDirectoryOptions'. Type 'undefined' is not assignable to type 'CompilerSystemCreateDirectoryOptions'. Argument of type 'null' is not assignable to parameter of type 'CompilerFileWatcherEvent'. Argument of type 'null' is not assignable to parameter of type '{ access: (filePath: string) => Promise; accessSync: (filePath: string) => boolean; cancelDeleteDirectoriesFromDisk: (dirPaths: string[]) => void; cancelDeleteFilesFromDisk: (filePaths: string[]) => void; ... 17 more ...; writeFiles: (files: { ...; } | Map<...>, opts?: FsWriteOptions | undefined) => Promise...'. Argument of type 'undefined' is not assignable to parameter of type 'TypeChecker'. Argument of type 'CollectionBundleManifest[] | undefined' is not assignable to parameter of type 'any[]'. Type 'undefined' is not assignable to type 'any[]'. Argument of type 'Module | undefined' is not assignable to parameter of type 'Module'. Type 'undefined' is not assignable to type 'Module'. Argument of type 'NodeArray | undefined' is not assignable to parameter of type 'NodeArray | HeritageClause[]'. Type 'undefined' is not assignable to type 'NodeArray | HeritageClause[]'. Argument of type 'Block | undefined' is not assignable to parameter of type 'Block'. Type 'undefined' is not assignable to type 'Block'. Argument of type 'Expression | undefined' is not assignable to parameter of type 'Node'. Type 'undefined' is not assignable to type 'Node'. Argument of type 'Symbol | undefined' is not assignable to parameter of type 'Symbol'. Type 'undefined' is not assignable to type 'Symbol'. Argument of type 'TypeNode | undefined' is not assignable to parameter of type 'Node'. Type 'undefined' is not assignable to type 'Node'. Argument of type '(PropertyAssignment | null)[]' is not assignable to parameter of type 'readonly ObjectLiteralElementLike[]'. Type 'PropertyAssignment | null' is not assignable to type 'ObjectLiteralElementLike'. Type 'null' is not assignable to type 'ObjectLiteralElementLike'. Argument of type 'Signature | undefined' is not assignable to parameter of type 'Signature'. Type 'undefined' is not assignable to type 'Signature'. Argument of type 'Identifier | undefined' is not assignable to parameter of type 'Node'. Type 'undefined' is not assignable to type 'Node'. Argument of type 'ScriptTarget | undefined' is not assignable to parameter of type 'ScriptTarget | CreateSourceFileOptions'. Argument of type 'Config | null | undefined' is not assignable to parameter of type 'Config'. Type 'undefined' is not assignable to type 'Config'. Argument of type 'null' is not assignable to parameter of type 'CollectionCompilerMeta'. Argument of type 'PropertyName | undefined' is not assignable to parameter of type 'PropertyName'. Type 'undefined' is not assignable to type 'PropertyName'. Argument of type 'NamedExportBindings | undefined' is not assignable to parameter of type 'Node'. Type 'undefined' is not assignable to type 'Node'. Argument of type 'Declaration | undefined' is not assignable to parameter of type 'Node'. Type 'undefined' is not assignable to type 'Node'. Argument of type 'Identifier | undefined' is not assignable to parameter of type 'string | BindingName'. Type 'undefined' is not assignable to type 'string | BindingName'. Argument of type 'ScriptTarget | undefined' is not assignable to parameter of type 'ScriptTarget | CreateSourceFileOptions'. Type 'undefined' is not assignable to type 'ScriptTarget | CreateSourceFileOptions'. Argument of type 'Diagnostic' is not assignable to parameter of type 'DiagnosticWithLocation'. Types of property 'file' are incompatible. Type 'SourceFile | undefined' is not assignable to type 'SourceFile'. Type 'undefined' is not assignable to type 'SourceFile'. Argument of type '(...pathSegments: string[]) => string | undefined' is not assignable to parameter of type '(...args: string[]) => string'. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. Argument of type 'CompilerWatcher | undefined' is not assignable to parameter of type 'CompilerWatcher'. Type 'undefined' is not assignable to type 'CompilerWatcher'. Argument of type 'DevServer | null' is not assignable to parameter of type 'DevServer'. Type 'null' is not assignable to type 'DevServer'. Argument of type '{ editor: string | undefined; }' is not assignable to parameter of type 'OpenInEditorOptions'. Types of property 'editor' are incompatible. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. Argument of type 'string | undefined' is not assignable to parameter of type 'PathLike'. Argument of type 'DevServerConfig | undefined' is not assignable to parameter of type 'DevServerConfig'. Type 'undefined' is not assignable to type 'DevServerConfig'. Argument of type 'CompilerBuildResults | undefined' is not assignable to parameter of type 'CompilerBuildResults'. Type 'undefined' is not assignable to type 'CompilerBuildResults'. Argument of type 'Window | undefined' is not assignable to parameter of type 'Window'. Type 'undefined' is not assignable to type 'Window'. Argument of type 'SerializeDocumentOptions | undefined' is not assignable to parameter of type 'HydrateDocumentOptions'. Type 'undefined' is not assignable to type 'HydrateDocumentOptions'. Argument of type 'HydrateDocumentOptions | undefined' is not assignable to parameter of type 'HydrateDocumentOptions'. Type 'undefined' is not assignable to type 'HydrateDocumentOptions'. Argument of type 'MockNode | null' is not assignable to parameter of type 'MockNode'. Type 'null' is not assignable to type 'MockNode'. Argument of type 'string | undefined' is not assignable to parameter of type 'string | null'. Type 'undefined' is not assignable to type 'string | null'. Argument of type 'string | undefined' is not assignable to parameter of type 'string | null'. Argument of type 'ShadowRoot | null' is not assignable to parameter of type 'Node'. Type 'null' is not assignable to type 'Node'. Argument of type 'MockElement' is not assignable to parameter of type 'MockHTMLElement'. Types of property 'namespaceURI' are incompatible. Type 'string | null' is not assignable to type 'string'. Type 'null' is not assignable to type 'string'. Argument of type 'null' is not assignable to parameter of type 'string | Node'. Argument of type 'null' is not assignable to parameter of type 'string | boolean | undefined'. Argument of type '(Window & typeof globalThis) | null' is not assignable to parameter of type 'Window'. Type 'null' is not assignable to type 'Window'. Argument of type 'string | null | undefined' is not assignable to parameter of type 'string | undefined'. Argument of type 'HostRef | undefined' is not assignable to parameter of type 'HostRef'. Type 'undefined' is not assignable to type 'HostRef'. Argument of type 'this' is not assignable to parameter of type 'HostElement'. Type 'HostElement' is not assignable to type 'import("/home/runner/work/stencil/stencil/src/declarations/stencil-private").HostElement'. The types returned by 'componentOnReady()' are incompatible between these types. Type 'Promise | undefined' is not assignable to type 'Promise'. Type 'undefined' is not assignable to type 'Promise'. Argument of type 'this' is not assignable to parameter of type 'HostElement'. Argument of type 'string | null' is not assignable to parameter of type 'string | undefined'. Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType'. Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType'. Type 'undefined' is not assignable to type 'PropertyDescriptor'. Argument of type 'HTMLElement | undefined' is not assignable to parameter of type 'HTMLElement'. Type 'undefined' is not assignable to type 'HTMLElement'. Argument of type 'VNode[] | undefined' is not assignable to parameter of type 'VNode[]'. Type 'undefined' is not assignable to type 'VNode[]'. Argument of type 'null | undefined' is not assignable to parameter of type 'ChildType'. Type 'undefined' is not assignable to type 'ChildType'. Argument of type 'VNode | null' is not assignable to parameter of type 'ChildType'. Type 'null' is not assignable to type 'ChildType'. Argument of type 'VNode | undefined' is not assignable to parameter of type 'ChildType'. Type 'undefined' is not assignable to type 'ChildType'. Argument of type 'VNode | null | undefined' is not assignable to parameter of type 'ChildType'. Type 'undefined' is not assignable to type 'ChildType'. Argument of type 'null | undefined' is not assignable to parameter of type 'ChildType'. Argument of type 'RenderNode | undefined' is not assignable to parameter of type 'Node | null'. Type 'undefined' is not assignable to type 'Node | null'. Argument of type 'VNode | undefined' is not assignable to parameter of type 'VNode'. Type 'undefined' is not assignable to type 'VNode'. Argument of type 'null' is not assignable to parameter of type 'VNode'. Argument of type 'null' is not assignable to parameter of type 'RenderNode'. Argument of type 'ScreenshotDiff | undefined' is not assignable to parameter of type 'ScreenshotDiff'. Type 'undefined' is not assignable to type 'ScreenshotDiff'. Argument of type 'string | undefined' is not assignable to parameter of type 'PathLike'. Type 'undefined' is not assignable to type 'PathLike'. Argument of type 'string | undefined' is not assignable to parameter of type 'string | SemVer'. Type 'undefined' is not assignable to type 'string | SemVer'. Argument of type 'string | undefined' is not assignable to parameter of type 'string | SemVer'. Argument of type 'null' is not assignable to parameter of type 'number | undefined'. Argument of type 'null' is not assignable to parameter of type 'number | PromiseLike'. Argument of type 'CompilerWorkerTask | undefined' is not assignable to parameter of type 'CompilerWorkerTask'. Type 'undefined' is not assignable to type 'CompilerWorkerTask'. Argument of type 'undefined' is not assignable to parameter of type 'ErrorHandler'. Argument of type 'string | undefined' is not assignable to parameter of type 'MockRequestInfo'. Type 'undefined' is not assignable to type 'MockRequestInfo'. Argument of type 'string | undefined' is not assignable to parameter of type 'MockRequestInfo'. Argument of type 'MockResponse | undefined' is not assignable to parameter of type 'MockResponse'. Type 'undefined' is not assignable to type 'MockResponse'. Argument of type 'RuntimeRef | undefined' is not assignable to parameter of type 'RuntimeRef'. Type 'undefined' is not assignable to type 'RuntimeRef'. Argument of type 'this' is not assignable to parameter of type 'E2EElementInternal'. Type 'E2EElement' is not assignable to type 'E2EElementInternal'. Types of property 'find' are incompatible. Type '(selector: string) => Promise<E2EElement | null>' is not assignable to type '(selector: FindSelector) => Promise'. Argument of type '(elm: Element, pseudoElt: string) => any' is not assignable to parameter of type 'string | EvaluateFunc<[ElementHandle, string | null | undefined]>'. Type '(elm: Element, pseudoElt: string) => any' is not assignable to type 'EvaluateFunc<[ElementHandle, string | null | undefined]>'. Types of parameters 'pseudoElt' and 'params_1' are incompatible. Type 'string | null | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. Argument of type 'this' is not assignable to parameter of type 'E2EElementInternal'. Argument of type '{ viewport: EmulateViewport | undefined; userAgent: string | undefined; }' is not assignable to parameter of type 'Device'. Types of property 'userAgent' are incompatible. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. Argument of type 'null' is not assignable to parameter of type 'SourceMap | undefined'. |
TS2322 | 482 | Error messagesType 'string | null | undefined' is not assignable to type 'string'.Type 'undefined' is not assignable to type 'string'. Type 'boolean | null | undefined' is not assignable to type 'boolean | undefined'. Type 'null' is not assignable to type 'boolean | undefined'. Type 'undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'ComponentConstructor | Promise'. Type 'HTMLElement | null' is not assignable to type 'HTMLElement'. Type 'null' is not assignable to type 'HTMLElement'. Type '({ type: "chunk"; fileName: string; map: SourceMap | undefined; code: string; moduleFormat: ModuleFormat | undefined; entryKey: string; imports: string[]; isEntry: boolean; ... 4 more ...; content?: undefined; } | { ...; })[]' is not assignable to type 'RollupResult[]'. Type '{ type: "chunk"; fileName: string; map: SourceMap | undefined; code: string; moduleFormat: ModuleFormat | undefined; entryKey: string; imports: string[]; isEntry: boolean; ... 4 more ...; content?: undefined; } | { ...; }' is not assignable to type 'RollupResult'. Type '{ type: "chunk"; fileName: string; map: SourceMap | undefined; code: string; moduleFormat: ModuleFormat | undefined; entryKey: string; imports: string[]; isEntry: boolean; ... 4 more ...; content?: undefined; }' is not assignable to type 'RollupResult'. Type '{ type: "chunk"; fileName: string; map: SourceMap | undefined; code: string; moduleFormat: ModuleFormat | undefined; entryKey: string; imports: string[]; isEntry: boolean; ... 4 more ...; content?: undefined; }' is not assignable to type 'RollupChunkResult'. Types of property 'moduleFormat' are incompatible. Type 'ModuleFormat | undefined' is not assignable to type 'ModuleFormat'. Type 'undefined' is not assignable to type 'ModuleFormat'. Type 'null' is not assignable to type 'CompilerBuildResults'. Type 'null' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'Document'. Type 'null' is not assignable to type 'Promise'. Type 'null' is not assignable to type 'LoggerTimeSpan'. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. Type 'boolean | undefined' is not assignable to type 'boolean'. Type 'number | undefined' is not assignable to type 'number'. Type 'undefined' is not assignable to type 'number'. Type 'boolean | "prod" | undefined' is not assignable to type 'boolean | "prod"'. Type 'undefined' is not assignable to type 'boolean | "prod"'. Type 'BuildResultsComponentGraph | undefined' is not assignable to type 'BuildResultsComponentGraph'. Type 'undefined' is not assignable to type 'BuildResultsComponentGraph'. Type 'RollupResults | undefined' is not assignable to type 'RollupResults'. Type 'undefined' is not assignable to type 'RollupResults'. Type '{ name: string | undefined; source: string; tags: any[]; }[]' is not assignable to type '{ name: string; source: string; tags: string[]; }[]'. Type '{ name: string | undefined; source: string; tags: any[]; }' is not assignable to type '{ name: string; source: string; tags: string[]; }'. Types of property 'name' are incompatible. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. Type 'null' is not assignable to type 'CompilerWorkerContext'. Type 'null' is not assignable to type 'WatchOfConfigFile'. Type 'null' is not assignable to type 'Promise<(void | void[])[]>'. Type 'Promise<(void | void[] | nu |
alicewriteswrongs
approved these changes
Jul 10, 2023
rwaskiewicz
approved these changes
Jul 14, 2023
@tanner-reits I created #4575 to fix the CI issues you're seeing - just waiting to verify my fix works 🤞 |
rwaskiewicz
added
the
Resolution: Refine
This PR is marked for Jira refinement. We're not working on it - we're talking it through.
label
Jul 17, 2023
rwaskiewicz
force-pushed
the
treits/v3-relative-transformed-path-in-dist-collection
branch
from
July 18, 2023 13:49
4335c37
to
f1f85bf
Compare
@tanner-reits I've landed the fixes to the |
tanner-reits
deleted the
treits/v3-relative-transformed-path-in-dist-collection
branch
July 18, 2023 14:11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Resolution: Refine
This PR is marked for Jira refinement. We're not working on it - we're talking it through.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is just a back-port of a fix made in v4. See #4552 for details of this change and testing steps