refactor: infer type for it() assertion functions (#19904)

PR Close #19904
This commit is contained in:
George Kalpakas
2018-07-05 18:10:09 +03:00
committed by Miško Hevery
parent 809e8f742e
commit e01b539ee5
12 changed files with 74 additions and 74 deletions

View File

@ -595,7 +595,7 @@ describe('DocViewerComponent', () => {
describe(`(.${NO_ANIMATIONS}: ${noAnimations})`, () => {
beforeEach(() => docViewerEl.classList[noAnimations ? 'add' : 'remove'](NO_ANIMATIONS));
it('should return an observable', (done: DoneFn) => {
it('should return an observable', done => {
docViewer.swapViews().subscribe(done, done.fail);
});