Files
tsgo/testdata/baselines/reference/submoduleAccepted/conformance/lateBoundAssignmentDeclarationSupport2.errors.txt.diff

29 lines
3.4 KiB
Diff

--- old.lateBoundAssignmentDeclarationSupport2.errors.txt
+++ new.lateBoundAssignmentDeclarationSupport2.errors.txt
@@= skipped -0, +0 lines =@@
-lateBoundAssignmentDeclarationSupport2.js(5,1): error TS7053: Element implicitly has an 'any' type because expression of type 'unique symbol' can't be used to index type 'typeof import("lateBoundAssignmentDeclarationSupport2.js")'.
- Property '[_sym]' does not exist on type 'typeof import("lateBoundAssignmentDeclarationSupport2.js")'.
-lateBoundAssignmentDeclarationSupport2.js(6,1): error TS7053: Element implicitly has an 'any' type because expression of type '"my-fake-sym"' can't be used to index type 'typeof import("lateBoundAssignmentDeclarationSupport2.js")'.
- Property 'my-fake-sym' does not exist on type 'typeof import("lateBoundAssignmentDeclarationSupport2.js")'.
+lateBoundAssignmentDeclarationSupport2.js(5,1): error TS7053: Element implicitly has an 'any' type because expression of type 'unique symbol' can't be used to index type 'typeof import("lateBoundAssignmentDeclarationSupport2")'.
+ Property '[_sym]' does not exist on type 'typeof import("lateBoundAssignmentDeclarationSupport2")'.
+lateBoundAssignmentDeclarationSupport2.js(6,1): error TS7053: Element implicitly has an 'any' type because expression of type '"my-fake-sym"' can't be used to index type 'typeof import("lateBoundAssignmentDeclarationSupport2")'.
+ Property 'my-fake-sym' does not exist on type 'typeof import("lateBoundAssignmentDeclarationSupport2")'.
usage.js(2,11): error TS7053: Element implicitly has an 'any' type because expression of type '"my-fake-sym"' can't be used to index type 'typeof import("lateBoundAssignmentDeclarationSupport2")'.
Property 'my-fake-sym' does not exist on type 'typeof import("lateBoundAssignmentDeclarationSupport2")'.
usage.js(3,11): error TS7053: Element implicitly has an 'any' type because expression of type 'unique symbol' can't be used to index type 'typeof import("lateBoundAssignmentDeclarationSupport2")'.
@@= skipped -25, +25 lines =@@
module.exports[_sym] = "ok";
~~~~~~~~~~~~~~~~~~~~
-!!! error TS7053: Element implicitly has an 'any' type because expression of type 'unique symbol' can't be used to index type 'typeof import("lateBoundAssignmentDeclarationSupport2.js")'.
-!!! error TS7053: Property '[_sym]' does not exist on type 'typeof import("lateBoundAssignmentDeclarationSupport2.js")'.
+!!! error TS7053: Element implicitly has an 'any' type because expression of type 'unique symbol' can't be used to index type 'typeof import("lateBoundAssignmentDeclarationSupport2")'.
+!!! error TS7053: Property '[_sym]' does not exist on type 'typeof import("lateBoundAssignmentDeclarationSupport2")'.
module.exports[_str] = "ok";
~~~~~~~~~~~~~~~~~~~~
-!!! error TS7053: Element implicitly has an 'any' type because expression of type '"my-fake-sym"' can't be used to index type 'typeof import("lateBoundAssignmentDeclarationSupport2.js")'.
-!!! error TS7053: Property 'my-fake-sym' does not exist on type 'typeof import("lateBoundAssignmentDeclarationSupport2.js")'.
+!!! error TS7053: Element implicitly has an 'any' type because expression of type '"my-fake-sym"' can't be used to index type 'typeof import("lateBoundAssignmentDeclarationSupport2")'.
+!!! error TS7053: Property 'my-fake-sym' does not exist on type 'typeof import("lateBoundAssignmentDeclarationSupport2")'.
module.exports.S = _sym;