Skip to content

Commit

Permalink
feat(index.ts): add default export
Browse files Browse the repository at this point in the history
  • Loading branch information
suressk committed Jun 19, 2022
1 parent 760c59d commit 756de7d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 756de7d

Please sign in to comment.