mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
510 B
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'.
|