fix(dart): @proxy is a value, not a factory
Previously I added parens everywhere to make this @proxy() because our typing indicated it was a function that returned a decorator, but this breaks dart. Instead, the typing needs to be changed. Fixes #3494
This commit is contained in:
@ -21,7 +21,7 @@ class TestObj {
|
||||
someComplexFunc(a) { return a; }
|
||||
}
|
||||
|
||||
@proxy()
|
||||
@proxy
|
||||
@IMPLEMENTS(TestObj)
|
||||
class SpyTestObj extends SpyObject {
|
||||
constructor() { super(TestObj); }
|
||||
|
Reference in New Issue
Block a user