.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / levn / lib / index.js
1 // Generated by LiveScript 1.6.0
2 (function(){
3   var parseString, cast, parseType, VERSION, parsedTypeParse, parse;
4   parseString = require('./parse-string');
5   cast = require('./cast');
6   parseType = require('type-check').parseType;
7   VERSION = '0.4.1';
8   parsedTypeParse = function(parsedType, string, options){
9     options == null && (options = {});
10     options.explicit == null && (options.explicit = false);
11     options.customTypes == null && (options.customTypes = {});
12     return cast(parseString(parsedType, string, options), parsedType, options);
13   };
14   parse = function(type, string, options){
15     return parsedTypeParse(parseType(type), string, options);
16   };
17   module.exports = {
18     VERSION: VERSION,
19     parse: parse,
20     parsedTypeParse: parsedTypeParse
21   };
22 }).call(this);