Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
Fix interface definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
devknoll committed Sep 21, 2015
1 parent 5f63fd8 commit 65b454f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/baseObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function resolveFields(fields) {

export default class BaseObject {
constructor(name, interfaces, description) {
if (!description) {
if (typeof description === 'undefined') {
/* eslint-disable no-param-reassign */
description = interfaces;
interfaces = undefined;
Expand Down

0 comments on commit 65b454f

Please sign in to comment.