Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit b1d321a

Browse files
committed
Fixed the sinon global shim
Typescript still wasn't happy with the way we had it, but this way seems to work.
1 parent 8b05f2b commit b1d321a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

typings/sinon.d.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
declare var sinon: Sinon.SinonStatic;
1+
import { SinonStatic } from 'sinon';
2+
3+
declare global {
4+
const sinon: SinonStatic;
5+
}

0 commit comments

Comments
 (0)