Skip to content

Commit 97a38b2

Browse files
committed
Fix td reference; fixes #279
1 parent f0ec8f7 commit 97a38b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/constructor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default (typeOrNames) =>
88
: fakeConstructorFromNames(typeOrNames)
99

1010
var fakeConstructorFromNames = (funcNames) => {
11-
return _.tap(td.function('(unnamed constructor)'), (fakeConstructor) => {
11+
return _.tap(tdFunction('(unnamed constructor)'), (fakeConstructor) => {
1212
fakeConstructor.prototype.toString = () =>
1313
'[test double instance of constructor]'
1414

0 commit comments

Comments
 (0)