Skip to content

Commit

Permalink
0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yanhaijing committed Mar 2, 2019
1 parent c838863 commit 91b0bfd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 变更日志

## 0.3.0 / 2019-3-2

- 增加.d.ts文件,支持ts调用

## 0.2.1 / 2018-12-1

- fix `extendDeep` 的bug
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![](https://img.shields.io/badge/Powered%20by-jslib%20extend-brightgreen.svg)](https://github.com/yanhaijing/jslib-extend)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jsmini/extend/blob/master/LICENSE)
[![Build Status](https://travis-ci.org/jsmini/extend.svg?branch=master)](https://travis-ci.org/jsmini/extend)
[![npm](https://img.shields.io/badge/npm-0.2.1-orange.svg)](https://www.npmjs.com/package/@jsmini/extend)
[![npm](https://img.shields.io/badge/npm-0.3.0-orange.svg)](https://www.npmjs.com/package/@jsmini/extend)
[![NPM downloads](http://img.shields.io/npm/dm/@jsmini/extend.svg?style=flat-square)](http://www.npmtrends.com/@jsmini/extend)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/jsmini/extend.svg)](http://isitmaintained.com/project/jsmini/extend "Percentage of issues still open")

Expand Down
6 changes: 6 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export as namespace jsminiExtend;

export function assign (target: object, ...sourceList: Array<object>): object;
export function extend (target: object, ...sourceList: Array<object>): object;
export function extendDeep (target: object | Array<any>, ...sourceList: Array<object | Array<any>>): object | Array<any>;

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsmini/extend",
"version": "0.2.1",
"version": "0.3.0",
"description": "将对象属性递归放到目标对象,类似jQuery的`$.extend`",
"main": "dist/index.js",
"jsnext:main": "dist/index.esm.js",
Expand Down

0 comments on commit 91b0bfd

Please sign in to comment.