diff options
Diffstat (limited to 'packages/gitbook-core')
-rw-r--r-- | packages/gitbook-core/src/shapes/File.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/gitbook-core/src/shapes/File.js b/packages/gitbook-core/src/shapes/File.js index 6c7df3e..fb7bc06 100644 --- a/packages/gitbook-core/src/shapes/File.js +++ b/packages/gitbook-core/src/shapes/File.js @@ -6,9 +6,8 @@ const { shape } = React.PropTypes; - module.exports = shape({ mtime: instanceOf(Date).isRequired, path: string.isRequired, - type: oneOf(['markdown', 'asciidoc']).isRequired + type: oneOf(['', 'markdown', 'asciidoc']).isRequired }); |