Wrap type-only class fields in flow comments (#11096)

* Wrap type-only class fields in flow comments

* Fix
This commit is contained in:
Nicolò Ribaudo
2020-02-09 11:45:43 +01:00
committed by GitHub
parent dadba01249
commit 8ab27c8ffe
6 changed files with 18 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ export default class ScopeHandler<IScope: Scope = Scope> {
return new Scope(flags);
}
// This method will be overwritten by subclasses
+createScope: (flags: ScopeFlags) => IScope;
/*:: +createScope: (flags: ScopeFlags) => IScope; */
enter(flags: ScopeFlags) {
this.scopeStack.push(this.createScope(flags));