Skip to content

Commit 36f6ea8

Browse files
Marcellin NshimiyimanaMarcellin Nshimiyimana
Marcellin Nshimiyimana
authored and
Marcellin Nshimiyimana
committed
feat($ci): try to publish again
1 parent c12ee12 commit 36f6ea8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/react-mock/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import DataGeneratorClass, { IDataGenerator } from './data-generator'
99
/**
1010
* type guard
1111
* check to see if passed in object implements IDataGenerator
12-
* @param object
12+
* @param instance
1313
*/
14-
function implementsIDG(object: any): object is IDataGenerator {
15-
return 'next' in object && typeof object.next === 'function'
14+
function implementsIDG(instance: any): instance is IDataGenerator {
15+
return 'next' in instance && typeof instance.next === 'function'
1616
}
1717

1818
export default class ServerClass {

0 commit comments

Comments
 (0)