From 756de7d57afdd328441aff7df32faa52f54a6436 Mon Sep 17 00:00:00 2001 From: suressk Date: Mon, 20 Jun 2022 06:29:45 +0800 Subject: [PATCH] feat(index.ts): add default export --- index.ts | 21 +++++++++++++++++++++ package.json | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index e93798f..0f0a06b 100644 --- a/index.ts +++ b/index.ts @@ -26,6 +26,27 @@ import hasChanged from './hasChanged' // get values import getPrototype from './getPrototype' +export { + isUndefined, + isNull, + isSymbol, + isNumber, + isString, + isArray, + isPlainObject, + isObject, + isDate, + isFunction, + isMap, + isSet, + isPromise, + + hasOwnProp, + hasChanged, + + getPrototype +} + export default { isUndefined, isNull, diff --git a/package.json b/package.json index a3a1e70..394dc22 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sure-utils", - "version": "1.0.11", + "version": "1.0.12", "description": "A javascript helper-functions package", "main": "index.ts", "scripts": {