mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Merge pull request #30664 from uniqueiniquity/typeAssertSinonChrome
Convert angle bracket type assertion to as assertion
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import * as sinon from 'sinon';
|
||||
import SinonChrome = require("sinon-chrome");
|
||||
var chromeStub = <typeof SinonChrome> <any> window.chrome;
|
||||
var chromeStub = window.chrome as any as typeof SinonChrome;
|
||||
|
||||
// Examples taken from https://github.com/vitalets/sinon-chrome:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user