* Fix comments after superclass * add changelog * refactor * Organize tests * Use addBlockStatementFirstComment * Amend unstableTests list * Avoid identical comments in tests * Add tests for `implements` * Handle comments in interfaces * Remove an always-false condition * Almost a fix * Further fixes * Add DeclareClass * Add DeclareInterface, mixins * Fix extends in DeclareClass * Fix DeclareClass * Fix mixins * Refactor: remove unused parameters * Add marked dangling comments * Unify printing of interface for TS and Flow * Fix unstable interfaces * Remove comment * Restore the original behavior for interfaces with multiple inheritance * Refactoring, tests * Remove unused code * Include a file accidentally omitted from the merge commit * Remove unused type import
23 lines
483 B
JavaScript
23 lines
483 B
JavaScript
class x {
|
|
focus() // comment 1
|
|
{
|
|
// comment 2
|
|
}
|
|
}
|
|
|
|
class X {
|
|
TEMPLATE =
|
|
// tab index is needed so we can focus, which is needed for keyboard events
|
|
'<div class="ag-large-text" tabindex="0">' +
|
|
'<div class="ag-large-textarea"></div>' +
|
|
'</div>';
|
|
}
|
|
|
|
export class SnapshotLogger {
|
|
constructor(
|
|
retentionPeriod: number = 5 * 60 * 1000, // retain past five minutes
|
|
snapshotInterval: number = 30 * 1000, // snapshot no more than every 30s
|
|
) {
|
|
}
|
|
}
|