Skip to content

Commit

Permalink
Add ts schema
Browse files Browse the repository at this point in the history
  • Loading branch information
w3nl committed Dec 8, 2023
1 parent c70aecf commit 6553435
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 31 deletions.
58 changes: 29 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hckrnews/deep-merge",
"description": "Object deep merge",
"version": "0.1.2",
"version": "0.2.0",
"author": {
"name": "Pieter Wigboldus",
"url": "https://hckr.news/"
Expand All @@ -20,9 +20,11 @@
"type": "module",
"files": [
"src/index.js",
"src/deep-merge.js"
"src/deep-merge.js",
"src/schema.d.ts"
],
"main": "src/index.js",
"types": "src/schema.d.ts",
"devDependencies": {
"@hckrnews/eslint-config": "^3.0.0",
"c8": "^8.0.0",
Expand Down
3 changes: 3 additions & 0 deletions src/schema.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function deepMerge(
...objects: objects
): object;

0 comments on commit 6553435

Please sign in to comment.