Skip to content

Commit 0fc9b72

Browse files
author
Alain Dumesny
authored
Merge pull request #1036 from adumesny/feature/TS
added TS type definition file from DefinitelyTyped
2 parents 02b8154 + 5576131 commit 0fc9b72

File tree

3 files changed

+486
-3
lines changed

3 files changed

+486
-3
lines changed

Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ module.exports = function(grunt) {
3737
dist: {
3838
files: {
3939
'dist/gridstack.js': ['src/gridstack.js'],
40+
'dist/gridstack.d.ts': ['src/gridstack.d.ts'],
4041
'dist/gridstack.jQueryUI.js': ['src/gridstack.jQueryUI.js'],
4142
}
4243
}

doc/CHANGES.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ Change log
2323

2424
## v0.5.1-dev (work in progress)
2525

26-
- undefined x,y position messes up grid ([#1017](https://github.com/gridstack/gridstack.js/issues/1017))
27-
- changed code to 2 spaces
28-
- fix minHeight during `onStartMoving()` ([#999](https://github.com/gridstack/gridstack.js/issues/999))
26+
- undefined x,y position messes up grid ([#1017](https://github.com/gridstack/gridstack.js/issues/1017)).
27+
- changed code to 2 spaces.
28+
- fix minHeight during `onStartMoving()` ([#999](https://github.com/gridstack/gridstack.js/issues/999)).
29+
- TypeScript definition file now included - no need to include @types/gridstack, easier to update.
2930

3031
## v0.5.1 (2019-11-07)
3132

0 commit comments

Comments
 (0)