Files
tsgo/testdata/baselines/reference/submodule/conformance/jsDeclarationsClassStaticMethodAugmentation(target=es2015).errors.txt.diff

15 lines
510 B
Diff

--- old.jsDeclarationsClassStaticMethodAugmentation(target=es2015).errors.txt
+++ new.jsDeclarationsClassStaticMethodAugmentation(target=es2015).errors.txt
@@= skipped -0, +0 lines =@@
-<no content>
+source.js(5,14): error TS2339: Property 'prop' does not exist on type '() => void'.
+
+
+==== source.js (1 errors) ====
+ export class Clazz {
+ static method() { }
+ }
+
+ Clazz.method.prop = 5;
+ ~~~~
+!!! error TS2339: Property 'prop' does not exist on type '() => void'.